Skip to content
SPECIFICTION
Get listed

NUnit

nunit.org

Free plan WindowsmacOSLinuxiOSAndroidAPI
Visit nunit.org
Spec score 7.8 #13 of 32 in Unit Testing

What it is

NUnit is a unit-testing framework for .NET languages, with supported languages listed as C#, VB.NET, F#, and C++. NUnit 3 and later releases use the MIT license, which permits free use in commercial and noncommercial applications and libraries. NUnit 5 adds attributes for declaring dependencies between tests and fixtures. Its Repeat feature can set a required pass percentage from 1 to 100 and optionally stop once the outcome is determined. NUnit 5 ships builds targeting net462, net8.0, and net10.0. Installation options include project templates for Visual Studio, Visual Studio Code, and Rider, along with the dotnet new nunit command; release packages are available through NuGet and GitHub. The Visual Studio template references the NUnit Test Adapter, NUnit Analyzer, Microsoft Test SDK, and coverlet code coverage package. Documentation describes automated runs on clean machines, including Azure DevOps and GitHub Actions build agents. The project is supported by the .NET Foundation and maintained by a core team and community contributors.

Spec sheet

Purpose
NUnit is a unit-testing framework for .NET languages.Read 4 Oct 2026 · nunit.org
.NET versions
NUnit 5 ships builds targeting net462, net8.0, and net10.0.Read 4 Oct 2026 · docs.nunit.org
CI
The documentation says the NUnit3TestAdapter can automate test runs on clean machines, including Azure DevOps and GitHub Actions build agents.Read 4 Oct 2026 · docs.nunit.org
Community
The project is run by a core team and community contributors; its packages had passed 600 million NuGet downloads at the time stated on the site.Read 4 Oct 2026 · nunit.org
Development tools
The installation guide describes NUnit project templates for Visual Studio, Visual Studio Code, and Rider, plus the dotnet new nunit command.Read 4 Oct 2026 · docs.nunit.org
Install options
The project recommends installing NUnit using its installation approaches and makes release packages available through NuGet and GitHub.Read 4 Oct 2026 · docs.nunit.org
Open source
NUnit 3 and higher is released under the MIT license, which permits free use in commercial and noncommercial applications and libraries.Read 4 Oct 2026 · nunit.org
Pre-release builds
Developer alpha versions are published when pull requests are merged into the main branch and are available through a MyGet NuGet feed.Read 4 Oct 2026 · docs.nunit.org
Project backing
The NUnit Project is a member of the .NET Foundation, which provides guidance and support for the project.Read 4 Oct 2026 · nunit.org
Repeated tests
NUnit 5 lets Repeat set a required pass percentage from 1 to 100 and optionally stop once the outcome is determined.Read 4 Oct 2026 · docs.nunit.org
Security and compliance
The pages reviewed state the MIT license and project governance, but do not state security certifications or compliance attestations.Read 4 Oct 2026 · nunit.org
Test adapters and analyzers
The Visual Studio project template includes references to the NUnit Test Adapter, NUnit Analyzer, Microsoft Test SDK, and coverlet code coverage package.Read 4 Oct 2026 · docs.nunit.org
Test dependencies
NUnit 5 adds DependsOnTest and DependsOnFixture attributes for expressing test and fixture dependencies.Read 4 Oct 2026 · docs.nunit.org

Plans and prices

NUnit Framework Free Open source · MIT license · free for commercial and noncommercial use Read 4 Oct 2026 · nunit.org

Every NUnit plan and price →

Strong points and limits

Strong points

  • MIT-licensed for commercial and noncommercial use
  • Supports C#, VB.NET, F#, and C++
  • NUnit 5 includes dependency and repeat-test features
  • Documentation describes CI runs on clean machines

Limits

  • NUnit 5 targets net462, net8.0, and net10.0
  • No free trial is listed

Who it suits

NUnit suits .NET developers writing unit tests in C#, VB.NET, F#, or C++. Its templates, command-line installation option, and test adapter support workflows using Visual Studio, Visual Studio Code, Rider, or CI build agents.

Verdict

NUnit is a free, MIT-licensed framework with .NET language support and installation options spanning IDE templates, command line, NuGet, and GitHub. NUnit 5 adds test dependency and repeat controls, with listed target builds for three .NET versions.

Where Specifiction places it

Alternatives to NUnitAll alternatives →