.NET Standard library that provides some extra NUnit functionality.
ByteDev.Testing.NUnit has been written as a .NET Standard 2.0 library, so you can consume it from a .NET Core or .NET Framework 4.6.1 (or greater) application.
ByteDev.Testing.NUnit is hosted as a package on nuget.org. To install from the Package Manager Console in Visual Studio run:
Install-Package ByteDev.Testing.NUnit
Further details can be found on the nuget page.
Releases follow semantic versioning.
Full details of the release notes can be viewed on GitHub.
Library provides extra static classes for performing assertions. These can all be accessed in the namespace: ByteDev.Testing.NUnit
.
Directory related assertions. Methods include:
- ContainsDirectories
- ContainsFiles
- Exists
- HasNoDirectories
- HasNoFiles
- IsEmpty
- NotExists
File related assertions. Methods include:
- AreSame
- ContentEquals
- Exists
- HasMoved
- IsEmpty
- ModifiedSince
- NotExists
- SizeEquals
- SizeLessThan
- SizeGreaterThan
Image related assertions. Methods include:
- HeightEquals
- WidthEquals