OwlDomain.Testing.MSTest
1.1.0
Prefix Reserved
dotnet add package OwlDomain.Testing.MSTest --version 1.1.0
NuGet\Install-Package OwlDomain.Testing.MSTest -Version 1.1.0
<PackageReference Include="OwlDomain.Testing.MSTest" Version="1.1.0" />
paket add OwlDomain.Testing.MSTest --version 1.1.0
#r "nuget: OwlDomain.Testing.MSTest, 1.1.0"
// Install OwlDomain.Testing.MSTest as a Cake Addin #addin nuget:?package=OwlDomain.Testing.MSTest&version=1.1.0 // Install OwlDomain.Testing.MSTest as a Cake Tool #tool nuget:?package=OwlDomain.Testing.MSTest&version=1.1.0
Testing.MSTest
The test framework adapter package for MSTest in the OwlDomain.Testing framework.
This package only provides the test framework adapter, make sure to reference the package with the assertion methods as well.
Usage
The optimal way to use these libraries is by using global usings. For the MSTest adapter that would look like this:
global using Assert = OwlDomain.Testing.MSTest.Assert;
global using OwlDomain.Testing.Assertions;
The first using helps to prevent ambiguity as MSTest also provides an Assert
class, the second
using will allow you to access any of the assert extensions methods anywhere in your tests project.
After that, you can call the assertion methods like this:
// Marks the test as failed if the value is not true.
Assert.That.IsTrue(value);
// Marks the test as inconclusive if the value is not true.
Assert.IsConclusiveIf.IsTrue(value);
License
This project (the source, and the release files, e.t.c) is release under the OwlDomain License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. net7.0 is compatible. 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 is compatible. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- MSTest.TestFramework (>= 3.0.0)
- OwlDomain.Polyease (>= 1.3.2)
- OwlDomain.Testing.Base (>= 1.1.0)
-
.NETStandard 2.1
- MSTest.TestFramework (>= 3.0.0)
- OwlDomain.Polyease (>= 1.3.2)
- OwlDomain.Testing.Base (>= 1.1.0)
-
net6.0
- MSTest.TestFramework (>= 3.0.0)
- OwlDomain.Polyease (>= 1.3.2)
- OwlDomain.Testing.Base (>= 1.1.0)
-
net7.0
- MSTest.TestFramework (>= 3.0.0)
- OwlDomain.Testing.Base (>= 1.1.0)
-
net8.0
- MSTest.TestFramework (>= 3.0.0)
- OwlDomain.Testing.Base (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0 | 97 | 10/2/2024 |