Skip to main content
NUnit package icon

NUnit

NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. A number of runners, both from the NUnit project and by third parties, are able to execute NUnit tests. Version 2.6 is the seventh major release of this well-known and well-tested programming tool. This package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner.

Total Downloads
680.2M
680,180,090
Published
Dec 17, 2014
Latest stable version

Install

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

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

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.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

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.