Omnifactotum.NUnit
0.2.0
Requires NuGet 5.4.0 or higher.
dotnet add package Omnifactotum.NUnit --version 0.2.0
NuGet\Install-Package Omnifactotum.NUnit -Version 0.2.0
<PackageReference Include="Omnifactotum.NUnit" Version="0.2.0" />
paket add Omnifactotum.NUnit --version 0.2.0
#r "nuget: Omnifactotum.NUnit, 0.2.0"
// Install Omnifactotum.NUnit as a Cake Addin #addin nuget:?package=Omnifactotum.NUnit&version=0.2.0 // Install Omnifactotum.NUnit as a Cake Tool #tool nuget:?package=Omnifactotum.NUnit&version=0.2.0
Omnifactotum.NUnit
Provides helper and functional classes for testing with NUnit
.
Note: Factotum
is a Latin word literally meaning "do everything" (that is, a handyman or Jack-of-all-trades).
More details
Changes in 0.2.0 (since 0.1.0.13)
Major Changes
Omnifactotum.NUnit
is now the multi-target package for:- .NET Framework 4.0, 4.6.1, and 4.7.2
- .NET Standard 2.0 and 2.1
- .NET 5.0
- Set
Omnifactotum
package dependency version based on the target framework
Breaking Changes
MappingAccordances.AssertionFailedMessageCreator<in TValue>
delegate: Signature has been changed- The signature of the
MappingAccordances<,>.Register
method using constraint creator has been changed to allow different types of source and destination values
New features
- A new
MappingAccordances<,>.Register
method overload has been introduced which allows to pass a constant literal failure message NUnitFactotum
: IntroducedAssertCast().To<TDestination>()
MappingAccordances
: Introduced the new methodRegisterAllMatchingProperties
- The
AssertEquality
method may now also test equality and inequality operators
Minor updates and fixes
- Improved support of inner
MappingAccordances
for complex (nested) properties - Added support of inner
MappingAccordances
for complexIList<T>
properties - Enabled NRT for
NUnitFactotum
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.0
- NUnit (>= 3.12.0)
- Omnifactotum (>= 0.6.0 && < 0.7.0)
-
.NETFramework 4.6.1
- NUnit (>= 3.12.0)
- Omnifactotum (>= 0.11.0 && < 0.12.0)
-
.NETFramework 4.7.2
- NUnit (>= 3.12.0)
- Omnifactotum (>= 0.13.0 && < 0.14.0)
-
.NETStandard 2.0
- NUnit (>= 3.12.0)
- Omnifactotum (>= 0.13.0 && < 0.14.0)
-
.NETStandard 2.1
- NUnit (>= 3.12.0)
- Omnifactotum (>= 0.16.0)
-
net5.0
- NUnit (>= 3.12.0)
- Omnifactotum (>= 0.16.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
### Changes in 0.2.0 (since 0.1.0.13)
#### Major Changes
- `Omnifactotum.NUnit` is now the multi-target package for:
- .NET Framework 4.0, 4.6.1, and 4.7.2
- .NET Standard 2.0 and 2.1
- .NET 5.0
- Set `Omnifactotum` package dependency version based on the target framework
#### Breaking Changes
- `MappingAccordances.AssertionFailedMessageCreator<in TValue>` delegate: Signature has been changed
- The signature of the `MappingAccordances<,>.Register` method using constraint creator has been changed to allow different types of source and destination values
#### New features
- A new `MappingAccordances<,>.Register` method overload has been introduced which allows to pass a constant literal failure message
- `NUnitFactotum`: Introduced `AssertCast().To<TDestination>()`
- `MappingAccordances`: Introduced the new method `RegisterAllMatchingProperties`
- The `AssertEquality` method may now also test equality and inequality operators
#### Minor updates and fixes
- Improved support of inner `MappingAccordances` for complex (nested) properties
- Added support of inner `MappingAccordances` for complex `IList<T>` properties
- Enabled NRT for `NUnitFactotum`
### Changes in 0.1.0.13 (since 0.1.0.7)
- `MappingAccordances<TSource, TDestination>`: Source and/or destination values can be `null`; an optional `null` reference check can be registered
- Introduced the `GenericTestCasesBase<T>` class and made it the ancestor of `TestCasesBase`
### Changes in 0.1.0.7 (since 0.1.0.2)
- Introduced the `MappingAccordances<TSource, TDestination>` class
### First published version 0.1.0.2
- Introduced the `NUnitFactotum` helper class
- Introduced the `TestCasesBase` abstract class