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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Omnifactotum.NUnit" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Omnifactotum.NUnit --version 0.2.0                
#r "nuget: Omnifactotum.NUnit, 0.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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: 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
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.2.0 230 7/17/2023
0.1.0.13 1,145 12/5/2016
0.1.0.2 1,391 8/5/2015

### 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