Domain Rating by Ahrefs74
Description
NUnit is an open-source unit-testing framework for .NET languages. You write tests with attributes and assertions, run one test with many sets of input data, and get warnings from the NUnit Analyzers while you type. Tests can run in Visual Studio, Rider, VS Code, from the command line or in a build pipeline. This documentation site covers writing tests, a reference for attributes, assertions and analyzer rules, getting started steps for each tool, release notes for NUnit and its related tools, and samples. It also covers NUnit 5, upgrading to it, flaky and parallel tests, and Microsoft.Testing.Platform. The site is a documentation hub, so you read it rather than install it. The NUnit project develops its framework, analyzers and tools on GitHub, and the site links to those repositories and the contributing guide.…
Highlights
- Attributes and assertions for .NET unit tests
- Data-driven tests that run with many inputs
- Analyzer warnings while you type
- Runs in Visual Studio, Rider, VS Code and build pipelines
- Reference for assertions, attributes and analyzer rules
- Guides for NUnit 5 and upgrading
Ratings & Reviews
No ratings yet
Be the first to rate Docs.
People also visit

csharp-nunit
NUnit best practices for standard and data-driven unit testing in .NET projects

run-tests
ALWAYS USE before running .NET tests or answering with a test command or flags

migrate-nunit-to-mstest
Convert .NET tests from NUnit 3/4 to MSTest v4 while preserving VSTest or MTP
Docs FAQ
What is NUnit?
An open-source unit-testing framework for .NET that lets you write tests, run them with many inputs and see analyzer warnings.
Who is it for?
Developers who write tests in any .NET language, in Visual Studio, Rider, VS Code, the command line or a build pipeline.
How do I get started?
The Getting started section explains how to create a test project in your tool or add NUnit to an existing project.
Is there a cost?
No. NUnit is open source, and the docs link to its repositories and contributing guide.
What is new in NUnit 5?
The site has a What's new in NUnit 5 page and an upgrading guide.
What are the best Docs alternatives?
Popular alternatives to Docs include Gauge. See all Docs alternatives


