Skip to content
D

Docs

Documentation for all active NUnit projects

by nunitFree

Domain Rating by Ahrefs74

#2487in Utilities
0In stores

Description

NUnit is an open-source unit-testing framework for .NET languages. You write tests with attributes and assertions, run one test with many se…

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

C

csharp-nunit

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

AI Skills
Get
R

run-tests

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

AI Skills
Get
M

migrate-nunit-to-mstest

Convert .NET tests from NUnit 3/4 to MSTest v4 while preserving VSTest or MTP

AI Skills
Get
W

writing-mstest-tests

ALWAYS USE when asked to fix, rewrite, update, improve, modernize

AI Skills
Get
P

platform-detection

Identify a .NET project's test platform, framework, command mode

AI Skills
Get
C

csharp-testing

C# and .NET testing patterns

AI Skills
Get

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

Developer Stuff

Badges