NUnit 3.0.0-beta-2

Prefix Reserved
This is a prerelease version of NUnit.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NUnit --version 3.0.0-beta-2                
NuGet\Install-Package NUnit -Version 3.0.0-beta-2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NUnit" Version="3.0.0-beta-2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NUnit --version 3.0.0-beta-2                
#r "nuget: NUnit, 3.0.0-beta-2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NUnit as a Cake Addin
#addin nuget:?package=NUnit&version=3.0.0-beta-2&prerelease

// Install NUnit as a Cake Tool
#tool nuget:?package=NUnit&version=3.0.0-beta-2&prerelease                

NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. A number of runners, both from the NUnit project and by third parties, are able to execute NUnit tests.

This package includes the NUnit 3.0 framework assembly, which is referenced by your tests. You will need to install version 3.0 of the nunit-console program or a third-party runner that supports NUnit 3.0 in order to execute tests. Runners intended for use with NUnit 2.x will not run 3.0 tests correctly.

This is an beta release, but is ready for production use for people with prior NUnit experience.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  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. 
Silverlight sl5 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.1K)

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).

Xamarin.UITest

UI Automation Framework for testing Android and iOS apps.

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.

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.4K)

Showing the top 5 popular GitHub repositories that depend on NUnit:

Repository Stars
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
Version Downloads Last updated
4.3.1 10,128 12/21/2024
4.3.0 120,096 12/14/2024
4.2.2 5,860,883 8/31/2024
4.2.1 504,653 8/23/2024
4.1.0 12,388,087 2/25/2024
4.0.1 6,195,271 12/2/2023
3.14.0 12,135,719 11/3/2023
3.13.3 87,224,460 3/20/2022
3.13.2 48,023,970 4/27/2021
3.13.1 20,261,261 2/1/2021
3.13.0 7,687,832 1/7/2021
3.12.0 79,891,304 5/15/2019
3.11.0 29,637,009 10/7/2018
3.10.1 19,207,409 3/13/2018
3.10.0 465,716 3/13/2018
3.9.0 9,843,311 11/10/2017
3.8.1 16,975,917 8/29/2017
3.8.0 352,721 8/28/2017
3.7.1 4,097,423 6/6/2017
3.7.0 1,787,255 5/30/2017
3.6.1 6,146,146 2/26/2017
3.6.0 3,028,199 1/10/2017
3.5.0 4,847,455 10/4/2016
3.4.1 2,758,299 6/30/2016
3.4.0 159,133 6/25/2016
3.2.1 1,370,031 4/19/2016
3.2.0 983,940 3/5/2016
3.0.1 2,011,168 12/2/2015
3.0.0 966,968 11/16/2015
3.0.0-rc-3 11,627 11/14/2015
3.0.0-rc-2 12,165 11/8/2015
3.0.0-rc 13,162 11/1/2015
3.0.0-beta-5 21,232 10/17/2015
3.0.0-beta-4 18,276 8/25/2015
3.0.0-beta-3 19,222 7/15/2015
3.0.0-beta-2 24,818 5/13/2015
3.0.0-beta-1 15,629 3/26/2015
3.0.0-alpha-5 25,002 1/31/2015
3.0.0-alpha-4 15,094 12/31/2014
3.0.0-alpha-3 14,306 11/29/2014
3.0.0-alpha-2 28,818 11/3/2014
3.0.0-alpha 23,987 9/23/2014
2.7.1 560,425 8/21/2019
2.7.0 280,394 8/10/2018
2.6.7 158,697 7/7/2018
2.6.6 37,365 6/7/2018
2.6.5 124,175 4/20/2018
2.6.4 14,906,718 12/17/2014
2.6.3 6,895,034 10/11/2013
2.6.2 2,980,090 10/23/2012
2.6.1 489,635 8/5/2012
2.6.0.12054 777,061 2/24/2012
2.5.10.11092 1,082,195 4/25/2011
2.5.9.10348 186,574 2/9/2011
2.5.7.10213 793,263 1/7/2011

This package includes the NUnit 3.0 framework assembly, which is referenced by your tests. You will need to install version 3.0 of the nunit-console program or a third-party runner that supports NUnit 3.0 in order to execute tests. Runners intended for use with NUnit 2.x will not run 3.0 tests correctly.

This is an beta release, but is ready for production use for people with prior NUnit experience.