Skip to content

ByteDev/ByteDev.Testing.NUnit

Repository files navigation

Build status NuGet Package License: MIT

ByteDev.Testing.NUnit

.NET Standard library that provides some extra NUnit functionality.

Installation

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.

Release Notes

Releases follow semantic versioning.

Full details of the release notes can be viewed on GitHub.

Usage

Library provides extra static classes for performing assertions. These can all be accessed in the namespace: ByteDev.Testing.NUnit.

AssertDir

Directory related assertions. Methods include:

  • ContainsDirectories
  • ContainsFiles
  • Exists
  • HasNoDirectories
  • HasNoFiles
  • IsEmpty
  • NotExists

AssertFile

File related assertions. Methods include:

  • AreSame
  • ContentEquals
  • Exists
  • HasMoved
  • IsEmpty
  • ModifiedSince
  • NotExists
  • SizeEquals
  • SizeLessThan
  • SizeGreaterThan

AssertImage

Image related assertions. Methods include:

  • HeightEquals
  • WidthEquals

About

.NET Standard library that provides some extra NUnit functionality.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published