dotnetCampus.UITest.WPF
2.2.2
dotnet add package dotnetCampus.UITest.WPF --version 2.2.2
NuGet\Install-Package dotnetCampus.UITest.WPF -Version 2.2.2
<PackageReference Include="dotnetCampus.UITest.WPF" Version="2.2.2" />
<PackageVersion Include="dotnetCampus.UITest.WPF" Version="2.2.2" />
<PackageReference Include="dotnetCampus.UITest.WPF" />
paket add dotnetCampus.UITest.WPF --version 2.2.2
#r "nuget: dotnetCampus.UITest.WPF, 2.2.2"
#:package dotnetCampus.UITest.WPF@2.2.2
#addin nuget:?package=dotnetCampus.UITest.WPF&version=2.2.2
#tool nuget:?package=dotnetCampus.UITest.WPF&version=2.2.2
| English | 日本語 | 简体中文 | 繁體中文 |
|---|
| Name | NuGet |
|---|---|
| MSTestEnhancer | |
| dotnetCampus.UITest.WPF |
CUnit
Don't you think that naming is very very hard? Especially naming for unit test method? Read this article for more data of naming: Don’t go into programming if you don’t have a good thesaurus - ITworld.
CUnit (MSTestEnhancer) helps you to write unit tests without naming any method.
CUnit is a contract-style unit test extension for MSTestv2. You can write method contract descriptions instead of writing confusing test method name when writing unit tests.
Getting Started with CUnit
You can write unit test like this:
[TestClass]
public class DemoTest
{
[ContractTestCase]
public void Foo()
{
"When A happened, result A'.".Test(() =>
{
// Arrange
// Action
// Assert
});
"But when B happened, result B'".Test(() =>
{
// Arrange
// Action
// Assert
});
}
}
Then you'll see this kind of test result in testing explorer window:
For more usages, please visit:
Contributing Guide
There are many ways to contribute to MSTestEnhancer
- Submit issues and help verify fixes as they are checked in.
- Review the documentation changes.
- How to Contribute
License
MSTestEnhancer is licensed under the MIT license
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows7.0 is compatible. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
| .NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- MSTestEnhancer (>= 2.2.2)
-
.NETFramework 4.5
- MSTestEnhancer (>= 2.2.2)
-
net5.0-windows7.0
- MSTestEnhancer (>= 2.2.2)
-
net6.0-windows7.0
- MSTestEnhancer (>= 2.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on dotnetCampus.UITest.WPF:
| Repository | Stars |
|---|---|
|
lindexi/lindexi_gd
博客用到的代码
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.2 | 1,537 | 7/19/2025 |
| 2.2.2-alpha05 | 212 | 7/15/2025 |
| 2.2.1 | 724 | 10/27/2022 |
| 2.2.1-alpha01 | 5,118 | 2/21/2022 |
| 2.2.0 | 588 | 1/6/2022 |
| 2.1.2-alpha03 | 376 | 12/27/2021 |
| 2.1.2-alpha02 | 375 | 12/27/2021 |
| 2.0.2-alpha03 | 227 | 8/10/2023 |
| 2.0.2-alpha02 | 300 | 4/18/2023 |