Skip to main content

NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.5, is the sixth major release of this xUnit based unit testing tool for Microsoft .NET.

Total Downloads
680.2M
680,180,090
Published
Feb 9, 2011
Latest stable version

Install

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

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.