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 Framework 3.5+ - .NET Standard 2.0+

Total Downloads
680.2M
680,180,090
Published
Apr 27, 2021
Latest stable version

Install

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

Frameworks

.NETFramework3.5 .NETFramework4.0 .NETFramework4.5 .NETStandard2.0

Dependencies

NETStandard.Library
.NETStandard2.0
[2.0.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 4 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.