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.0 framework assembly, which is referenced by your tests. You will need to install version 3.0 of the nunit3-console program or a third-party runner that supports NUnit 3.0 in order to execute tests. Runners intended for use with NUnit 2.x will not run 3.0 tests correctly. Supported platforms: - .NET 2.0+ - .NET Standard 1.6 - Windows 8 - Windows Phone 8 (Silverlight) - Universal (Windows Phone 8.1+, Windows 8.1+) - Xamarin (MonoTouch, MonoAndroid, Xamarin iOS Universal) - Portable Libraries (supporting Profile259)

Total Downloads
680.2M
680,180,090
Published
Jan 10, 2017
Latest stable version

Install

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

Frameworks

.NETStandard1.6

Dependencies

NETStandard.Library
.NETStandard1.6
[1.6.0, )
System.Runtime.Loader
.NETStandard1.6
[4.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 1 target framework; 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.