NuGet Package NUnit

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 (

Please see the NUnit 4 Migration Guide ( 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?


Version: 4.0.0
Author(s): Charlie Poole, Rob Prouse
Last Update: Sunday, November 26, 2023
.NET Fiddle: Online Example
Project Url:
NuGet Url:

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.