Skip to main content
NUnit package icon

NUnit

NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. This package includes the NUnit 3 framework assembly, which is referenced by your tests. You will need to install version 3 of the nunit3-console program or a third-party runner that supports NUnit 3 in order to execute tests. Runners intended for use with NUnit 2.x will not run NUnit 3 tests correctly. Supported platforms: - .NET 2.0+ - .NET Standard 1.3 and 1.6 - .NET Core

Total Downloads
680.2M
680,180,090
Published
Jun 6, 2017
Latest stable version

Install

.NET CLI
dotnet add package NUnit --version 3.7.1
Package Manager Console
Install-Package NUnit -Version 3.7.1
PackageReference
<PackageReference Include="NUnit" Version="3.7.1" />

Frameworks

.NETFramework2.0 .NETFramework3.5 .NETFramework4.0 .NETFramework4.5 .NETStandard1.3 .NETStandard1.6

Dependencies

NETStandard.Library
.NETStandard1.3
[1.6.0, )
[4.3.0, )
NETStandard.Library
.NETStandard1.6
[1.6.0, )
System.Runtime.Loader
.NETStandard1.6
[4.3.0, )
[4.3.0, )

Adoption guide

Teams that value its attribute model, parameterized tests and established NUnit conventions.

Unit Testing guide
Why it appears in the guide: A mature test framework with expressive attributes, constraints and broad platform support. Trade-off: A major-version upgrade can involve source and assertion changes; read its migration guidance first.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.