
NUnit
Summary
NUnit is a unit-testing framework for .NET languages, with support listed for C#, VB.NET, F#, and C++. NUnit 3 and later are released under the MIT license, which permits free use in commercial and noncommercial applications and libraries. NUnit 5 adds attributes for expressing dependencies between tests and fixtures. Its Repeat feature can set a required pass percentage from 1 to 100 and can 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, as well as the dotnet new nunit command; release packages are available through NuGet and GitHub. The Visual Studio template includes references to a test adapter, analyzer, Microsoft Test SDK, and a code coverage package. Documentation describes automated runs on clean machines, including Azure DevOps and GitHub Actions build agents. The NUnit Project is part of the .NET Foundation and is maintained by a core team and community contributors.
Who it is for
It suits developers writing and running unit tests for .NET projects. Teams using Visual Studio, Visual Studio Code, Rider, or CI build agents have documented setup paths to consider.
What is good
- MIT license permits commercial and noncommercial use.
- NUnit 5 supports test and fixture dependencies.
- Repeat can require a pass percentage.
- Documentation describes CI test automation.
What to know first
- NUnit 5 builds target specific .NET versions.
- No security certifications or compliance attestations are stated.
Verdict
NUnit offers a free, open-source framework for .NET unit testing, with NUnit 5 features for dependencies and repeat conditions. Its documented templates and CI support provide several setup options.
NUnit plans and pricing
All plansCompared on unit testing frameworks
Facts
- Purpose
- NUnit is a unit-testing framework for .NET languages.nunit.org · 4 Oct 2026
- Open source
- NUnit 3 and higher is released under the MIT license, which permits free use in commercial and noncommercial applications and libraries.nunit.org · 4 Oct 2026
- Project backing
- The NUnit Project is a member of the .NET Foundation, which provides guidance and support for the project.nunit.org · 4 Oct 2026
- 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.nunit.org · 4 Oct 2026
- Test dependencies
- NUnit 5 adds DependsOnTest and DependsOnFixture attributes for expressing test and fixture dependencies.docs.nunit.org · 4 Oct 2026
- Repeated tests
- NUnit 5 lets Repeat set a required pass percentage from 1 to 100 and optionally stop once the outcome is determined.docs.nunit.org · 4 Oct 2026
- .NET versions
- NUnit 5 ships builds targeting net462, net8.0, and net10.0.docs.nunit.org · 4 Oct 2026
- Development tools
- The installation guide describes NUnit project templates for Visual Studio, Visual Studio Code, and Rider, plus the dotnet new nunit command.docs.nunit.org · 4 Oct 2026
- 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.docs.nunit.org · 4 Oct 2026
- CI
- The documentation says the NUnit3TestAdapter can automate test runs on clean machines, including Azure DevOps and GitHub Actions build agents.docs.nunit.org · 4 Oct 2026
- Install options
- The project recommends installing NUnit using its installation approaches and makes release packages available through NuGet and GitHub.docs.nunit.org · 4 Oct 2026
- 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.docs.nunit.org · 4 Oct 2026
- Security and compliance
- The pages reviewed state the MIT license and project governance, but do not state security certifications or compliance attestations.nunit.org · 4 Oct 2026
Best NUnit alternatives
See all 12Where it ranks on Everything Xiaomi
Is NUnit yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- nunit.org· checked 4 Oct 2026
- docs.nunit.org/articles/nunit/V5NewFeatures.html· checked 4 Oct 2026
- docs.nunit.org/articles/nunit/getting-started/installa· checked 4 Oct 2026
- docs.nunit.org/articles/nunit/getting-started/download· checked 4 Oct 2026



