NUnit 3.14.0
Prefix ReservedSee the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package NUnit --version 3.14.0
NuGet\Install-Package NUnit -Version 3.14.0
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageVersion Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit" />
paket add NUnit --version 3.14.0
#r "nuget: NUnit, 3.14.0"
#:package NUnit@3.14.0
#addin nuget:?package=NUnit&version=3.14.0
#tool nuget:?package=NUnit&version=3.14.0
NUnit 3 Framework
NUnit is a unit-testing framework for all .NET languages. Initially ported from JUnit, the current production release, version 3, has been completely rewritten with many new features and support for a wide range of .NET platforms.
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 are hosted on GitHub at https://github.com/nunit/docs/wiki.
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 3 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 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 3 Visual Studio Adapter - Visual Studio adapter for running NUnit 3 tests in Visual Studio and in VSTS/TFS builds
- NUnit Visual Studio Templates - Project templates and snippets for writing unit tests in Visual Studio
- Visual Studio Test Generator - Generates NUnit tests in Visual Studio
- NUnit 2 Visual Studio Adapter - Visual Studio adapter for running older NUnit 2.x tests in Visual Studio and in VSTS/TFS builds
Other Projects
- NUnit GUI - Runs NUnit 3 tests in a GUI based runner
- NUnit Xamarin Runner - Runs NUnit 3 tests on mobile devices using the Xamarin framework
- NUnit .NET Core Runner - Runs NUnit tests compiled against .NET Core
- NUnit Project Editor - Edits the NUnit Project format
NUnit Engine Extensions
- NUnit 2 Driver - Allows the NUnit 3 engine to run NUnit 2 tests
- NUnit 2 Result Writer - Writes test results in the legacy NUnit 2 format
- Visual Studio Project Loader - Loads and parses Visual Studio projects and solutions
- NUnit Project Loader - Loads NUnit projects
- TeamCity Event Listener - Allows you to run and integrate NUnit tests into TeamCity
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 2.0
- NETStandard.Library (>= 2.0.0)
NuGet packages (1.3K)
Showing the top 5 NuGet packages that depend on NUnit:
| Package | Downloads |
|---|---|
|
SpecFlow.NUnit
Package to use SpecFlow with NUnit 3.13 and later |
|
|
AutoFixture.NUnit3
By leveraging some features of NUnit3, this extension turns AutoFixture into a declarative framework for writing unit tests. In many ways it becomes a unit testing DSL (Domain Specific Language). |
|
|
Microsoft.Playwright.NUnit
Playwright enables reliable end-to-end testing for modern web apps. This package brings in additional helpers and fixtures to enable using it within NUnit. |
|
|
Xamarin.UITest
UI Automation Framework for testing Android and iOS apps. |
|
|
NUnitLite
NUnitLite provides a simple way to run NUnit tests, without the overhead of a full NUnit installation. It is suitable for projects that want to have a quick way to run tests using a console runner and don't need all the features of the NUnit engine and console runner. Supported platforms: - .NET Framework 4.6.2+ - .NET 6.0 - .NET 8.0+ How to use this package: 1. Create a console application for your tests and delete the generated class containing Main(). 2. Install the NUnitLite package, which creates a new Main() as well as adding a reference to NUnitLite. This will also bring in the NUnit package, which adds a reference to the NUnit framework to your project. 3. Add your tests to the test project and simply start the project to execute them. |
GitHub repositories (1.6K)
Showing the top 20 popular GitHub repositories that depend on NUnit:
| Repository | Stars |
|---|---|
|
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI
|
|
|
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
|
|
|
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
|
|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
|
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
|
|
|
ppy/osu
rhythm is just a *click* away!
|
|
|
OpenRA/OpenRA
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
|
|
|
Jackett/Jackett
API Support for your favorite torrent trackers
|
|
|
Flow-Launcher/Flow.Launcher
:mag: Quick file search & app launcher for Windows with community-made plugins
|
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
|
QuestPDF/QuestPDF
QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.
|
|
|
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
|
|
|
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
|
|
|
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
|
|
|
JosefNemec/Playnite
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
|
|
|
microsoft/garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
|
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
|
JamesNK/Newtonsoft.Json
Json.NET is a popular high-performance JSON framework for .NET
|
|
|
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.5.1 | 3,462,857 | 3/6/2026 |
| 4.5.0 | 1,210,203 | 2/18/2026 |
| 4.4.0 | 19,606,417 | 8/10/2025 |
| 4.4.0-beta.2.1 | 15,950 | 7/29/2025 |
| 4.4.0-beta.1 | 28,900 | 6/26/2025 |
| 4.3.2 | 31,194,436 | 12/28/2024 |
| 4.3.1 | 5,500,402 | 12/21/2024 |
| 4.3.0 | 987,089 | 12/14/2024 |
| 4.2.2 | 20,491,345 | 8/31/2024 |
| 4.2.1 | 1,625,368 | 8/23/2024 |
| 4.1.0 | 24,225,409 | 2/25/2024 |
| 4.0.1 | 9,768,975 | 12/2/2023 |
| 3.14.0 | 37,617,346 | 11/3/2023 |
| 3.13.3 | 120,419,894 | 3/20/2022 |
| 3.13.2 | 59,944,505 | 4/27/2021 |
| 3.13.1 | 29,606,887 | 2/1/2021 |
| 3.13.0 | 8,314,890 | 1/7/2021 |
This package includes the NUnit 3 framework assembly, which is referenced by your tests. You will need to install version 3 of the nunit3-console program or a third-party runner that supports NUnit 3 in order to execute tests. Runners intended for use with NUnit 2.x will not run NUnit 3 tests correctly.