Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

NUnit

nunit.org

  • Free plan
  • Windows
  • macOS
  • Linux
  • iPhone and iPad
  • Android
  • API
  • Self-hosted
7.4 Club score Visit nunit.org

What NUnit is

NUnit is a unit-testing framework for .NET languages, with support for C#, VB.NET, F# and C++. NUnit 5 adds attributes to describe dependencies between tests and fixtures. Its Repeat feature can require a pass rate from 1 to 100 percent and optionally stop when the result is settled. Builds target net462, net8.0 and net10.0. Developers can start from project templates for Visual Studio, Visual Studio Code or Rider, or use the dotnet new nunit command. The Visual Studio template references the NUnit Test Adapter, NUnit Analyzer, Microsoft Test SDK and coverlet code coverage package. Documentation describes running tests on clean machines, including Azure DevOps and GitHub Actions build agents. Release packages are available through NuGet and GitHub. NUnit 3 and later use the MIT license, which allows commercial and noncommercial use. The project is part of the .NET Foundation and is maintained by a core team and community contributors. The free plan is listed as free.

Who it suits

NUnit suits .NET developers who need to organize and run unit tests, including teams using Visual Studio, Visual Studio Code or Rider. Its stated language support includes C#, VB.NET, F# and C++.

Good to know, and what to watch

  • MIT license permits commercial and noncommercial use.
  • NUnit 5 supports test and fixture dependency attributes.
  • Repeat can set a required pass percentage.
  • Templates are available for Visual Studio, VS Code and Rider.
  • CI documentation covers Azure DevOps and GitHub Actions agents.
  • NUnit 5 builds target net462, net8.0 and net10.0.
  • No free trial is listed.

NUnit Framework

Free

Free plan

The verdict

NUnit provides .NET developers with a free, MIT-licensed framework and a range of setup options. Its dependency and repeat features add ways to express test relationships and required outcomes.

What the maker publishes

CI
The documentation says the NUnit3TestAdapter can automate test runs on clean machines, including Azure DevOps and GitHub Actions build agents. source
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. source
Development tools
The installation guide describes NUnit project templates for Visual Studio, Visual Studio Code, and Rider, plus the dotnet new nunit command. source
Install options
The project recommends installing NUnit using its installation approaches and makes release packages available through NuGet and GitHub. source
.NET versions
NUnit 5 ships builds targeting net462, net8.0, and net10.0. source
Open source
NUnit 3 and higher is released under the MIT license, which permits free use in commercial and noncommercial applications and libraries. source
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. source
Project backing
The NUnit Project is a member of the .NET Foundation, which provides guidance and support for the project. source
Purpose
NUnit is a unit-testing framework for .NET languages. source
Repeated tests
NUnit 5 lets Repeat set a required pass percentage from 1 to 100 and optionally stop once the outcome is determined. source
Security and compliance
The pages reviewed state the MIT license and project governance, but do not state security certifications or compliance attestations. source
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. source
Test dependencies
NUnit 5 adds DependsOnTest and DependsOnFixture attributes for expressing test and fixture dependencies. source

Checked against the maker's pages on 4 Oct 2026.