NUnit NuGet Package

NUnit is a unit-testing framework for all .NET languages.
It can run on macOS, Linux and Windows operating systems.
NUnit can be used for a wide range of testing, from unit testing with TDD to full-fledged system and integration testing.
It is a non-opinionated, broad and deep framework with multiple different ways to assert that your code behaves as expected.

Many aspects of NUnit can be extended to suit your specific purposes.

The latest version, version 4, is an upgrade from the groundbreaking NUnit 3 framework. It is a modernized version, aimed at taking advantage of the latest .NET features and C# language constructs.

If you are upgrading from NUnit 3, be aware of the breaking changes (https://docs.nunit.org/articles/nunit/release-notes/breaking-changes.html#nunit-40).

Please see the NUnit 4 Migration Guide (https://docs.nunit.org/articles/nunit/release-notes/Nunit4.0-MigrationGuide.html) and take care to prepare your NUnit 3 code before you do the upgrade.

Supported platforms:
- .NET Framework 4.6.2+
- .NET 6.0+.




Got any NUnit Question?





Info

Version: 4.2.2
Author(s): Charlie Poole, Rob Prouse
Last Update: Saturday, August 31, 2024
.NET Fiddle: Online Example
Project Url: https://nunit.org/
NuGet Url: https://www.nuget.org/packages/NUnit


Install
Install-Package NUnit
dotnet add package NUnit
paket add NUnit
NUnit Download (Unzip the "nupkg" after downloading)

.NETFramework 3.5
  • No dependencies.
.NETFramework 4.0
  • No dependencies.
.NETFramework 4.5
  • No dependencies.
.NETStandard 2.0 968 packages depend on this package.


Tags



STATS

must-have-score

7.5

avg-downloads-per-day

74919

days-since-last-release

82