NUnit 4.0.1

NUnit 4 Framework

Follow NUnit Slack nunit-discuss Google Groups NUnit issues marked with "help wanted" label NUnit issues marked with "good first issue" label

NUnit is a unit-testing framework for all .NET languages. It can run on macOS, Linux and Windows operating systems. NUnit can be used for a wide range of testing, from unit testing with TDD to full fledged system and integration testing. It is a non-opinionated, broad and deep framework with multiple different ways to assert that your code behaves as expected. Many aspects of NUnit can be extended to suit your specific purposes.

The latest version, version 4, is an upgrade from the groundbreaking NUnit 3 framework. It is a modernized version, aimed at taking advantage of the latest .NET features and C# language constructs.

If you are upgrading from NUnit 3, be aware of the breaking changes. Please see the NUnit 4 Migration Guide and take care to prepare your NUnit 3 code before you do the upgrade.

Table of Contents

Downloads

The latest stable release of the NUnit Framework is available on NuGet or can be downloaded from GitHub. Pre-release builds are available on MyGet.

Documentation

Documentation for all NUnit projects can be found at the documentation site.

Contributing

For more information on contributing to the NUnit project, please see CONTRIBUTING.md and the Developer Docs.

NUnit 3.0 was created by Charlie Poole, Rob Prouse, Simone Busoli, Neil Colvin and numerous community contributors. A complete list of contributors since NUnit migrated to GitHub can be found on GitHub.

Earlier versions of NUnit were developed by Charlie Poole, James W. Newkirk, Alexei A. Vorontsov, Michael C. Two and Philip A. Craig.

License

NUnit is Open Source software and NUnit 4 is released under the MIT license. Earlier releases used the NUnit license. Both of these licenses allow the use of NUnit in free and commercial applications and libraries without restrictions.

NUnit Projects

NUnit is made up of several projects. When reporting issues, please try to report issues in the correct project.

Core Projects

  • NUnit Test Framework - The test framework used to write NUnit tests (this repository)
  • NUnit Visual Studio Adapter - Visual Studio/Dotnet adapter for running NUnit 3 and 4 tests in Visual Studio or the dotnet command line.
  • NUnit Console and Engine - Runs unit tests from the command line and provides the engine that is used by other test runners to run NUnit tests.

Visual Studio Extensions

NUnit Engine Extensions

Showing the top 20 packages that depend on NUnit.

Packages Downloads
Minio
Minio Client SDK for .NET
7
Twilio
Twilio REST API helper library
6
Minio
Minio .NET Library for Amazon S3 Compatible Cloud Storage
6
Twilio
Twilio REST API helper library
5
Twilio
Twilio REST API helper library
4

See release notes at https://docs.nunit.org/articles/nunit/release-notes/framework.html#nunit-400---november-26-2023

.NET Framework 4.6.2

  • No dependencies.

.NET 6.0

  • No dependencies.

Version Downloads Last updated
4.2.2 2 09/22/2024
4.2.1 7 08/27/2024
4.1.0 6 04/12/2024
4.0.1 3 04/28/2024
4.0.0 3 04/28/2024
4.0.0-beta.1 4 04/28/2024
3.14.0 3 04/28/2024
3.13.3 4 04/28/2024
3.13.2 3 04/28/2024
3.13.1 3 04/28/2024
3.13.0 3 04/28/2024
3.12.0 3 04/28/2024
3.11.0 3 06/19/2024
3.10.1 4 04/28/2024
3.10.0 5 04/28/2024
3.9.0 3 04/28/2024
3.8.1 5 04/28/2024
3.8.0 3 04/28/2024
3.7.1 5 03/27/2024
3.7.0 4 04/28/2024
3.6.1 3 04/28/2024
3.6.0 3 04/28/2024
3.5.0 5 04/28/2024
3.4.1 9 03/31/2024
3.4.0 2 06/19/2024
3.2.1 3 04/28/2024
3.2.0 4 04/28/2024
3.0.1 4 04/28/2024
3.0.0 3 04/28/2024
3.0.0-rc-3 3 04/28/2024
3.0.0-rc-2 6 04/28/2024
3.0.0-rc 5 04/28/2024
3.0.0-beta-5 5 04/28/2024
3.0.0-beta-4 3 04/28/2024
3.0.0-beta-3 7 04/28/2024
3.0.0-beta-2 5 04/28/2024
3.0.0-beta-1 4 04/28/2024
3.0.0-alpha-5 6 04/28/2024
3.0.0-alpha-4 3 04/28/2024
3.0.0-alpha-3 6 04/17/2024
3.0.0-alpha-2 4 04/28/2024
3.0.0-alpha 5 03/28/2024
2.7.1 4 03/27/2024
2.7.0 6 04/28/2024
2.6.7 5 04/28/2024
2.6.6 4 04/28/2024
2.6.5 4 04/28/2024
2.6.4 4 04/28/2024
2.6.3 4 04/28/2024
2.6.2 4 04/28/2024
2.6.1 3 04/28/2024
2.6.0.12054 4 04/28/2024
2.5.10.11092 4 04/28/2024
2.5.9.10348 4 04/28/2024
2.5.7.10213 6 04/28/2024