NUnit3TestAdapter 4.4.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Core 3.1 .NET Framework 4.6.2
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package NUnit3TestAdapter --version 4.4.2
NuGet\Install-Package NUnit3TestAdapter -Version 4.4.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="NUnit3TestAdapter" Version="4.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NUnit3TestAdapter --version 4.4.2
#r "nuget: NUnit3TestAdapter, 4.4.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 NUnit3TestAdapter as a Cake Addin
#addin nuget:?package=NUnit3TestAdapter&version=4.4.2

// Install NUnit3TestAdapter as a Cake Tool
#tool nuget:?package=NUnit3TestAdapter&version=4.4.2

NUnit 3 VS Test Adapter

The NUnit 3 Test Adapter runs NUnit 3.x tests in Visual Studio 2012 and newer.

You can download the latest release version

NuGet Version

or the latest developer build version

MyGet version

Builds on master

Cake build VS Build Tests Coverage

Support

Ask support questions Slack or raise an issue

Documentation

The NUnit3TestAdapter wiki is the best place to start.

Also check the release notes.

License

The NUnit 3 Test Adapter is Open Source software released under the .

Developing

Visual Studio 2022 is the recommended version to build and test the adapter.

Use .\build -t test at the command line to build and run complete tests.

To create a package use .\build -t package

To run and debug tests on .NET Framework, load DisableAppDomain.runsettings.

From Visual Studio 2019 version 16.2 preview 4 it is possible to run tests against a selected target framework in the test project, so one can use this to run .NET Core tests. An alternative approach is to make use of the command line. If you need to frequently debug into .NET Core tests, you can temporarily switch the order of the <TargetFrameworks> in NUnit.TestAdapter.Tests.csproj.

The mock-assembly tests are not for direct running.

See https://github.com/nunit/docs/wiki/Packaging-the-V3-Adapter for more details.

Debugger source-stepping

The NuGet package and the VSIX contain source-linked PDBs for the adapter. If you’re in the middle of a debugging session and realize you’d like to be able to step into NUnit adapter code, set breakpoints and watch variables, follow these steps.

Notes

  • This adapter works with NUnit 3.0 and higher only. Use the NUnit 2 Adapter to run NUnit 2.x tests.

Announcements

  • From version 3.9 the NUnit3TestAdapter will stop supporting Visual Studio 2012 RTM (!), note only RTM, the later updates will still be supported fully. If you're using VS 2012 and want to update NUnit3TestAdapter, please update your Visual Studio RTM to any of the subsequent updates (Update 1-5)
  • From version 3.16 the NUnit3TestAdapter will stop supporting .net core 1
  • From version 4.0 the NUnit3TestAdapter will only be released as a nuget package, the VSIX is deprecated.
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
.NET Framework net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (178)

Showing the top 5 NuGet packages that depend on NUnit3TestAdapter:

Package Downloads
SpecFlow.NUnit.Runners The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Combined package to setup SpecFlow with NUnit easily for running the tests with the NUnit runners.

Microsoft.Playwright.NUnit The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

AnalyzeRe.Client.Test

A testing framework for the Analyze Re Client Library

CK.DB.Actor.Tests

This package contains tests for CK.DB.Actor (uses CK.DB.Tests.NUnit).

Objectivity.Test.Automation.Common.NUnit

[DEPRECATED] Use Install-Package Ocaramba.Features Install-Package Ocaramba.MsTest Install-Package Ocaramba.NUnit Install-Package Ocaramba.xUnit instead

GitHub repositories (802)

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

Repository Stars
Wox-launcher/Wox
Launcher for Windows, an alternative to Alfred and Launchy.
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!
Ryujinx/Ryujinx
Experimental Nintendo Switch Emulator written in C#
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
Version Downloads Last updated
4.5.0-alpha.4 168 3/20/2023
4.5.0-alpha.3 137 3/19/2023
4.4.2 312,483 3/1/2023
4.4.0-beta.1 769 2/23/2023
4.3.1 3,831,388 11/19/2022
4.3.0 1,420,264 10/29/2022
4.3.0-rc.1 1,451 10/27/2022
4.3.0-alpha-net7.4 138,747 6/27/2022
4.3.0-alpha-net7 907 6/26/2022
4.2.1 18,347,456 1/21/2022
4.2.0 1,539,550 12/27/2021
4.2.0-beta.4 4,872 12/17/2021
4.2.0-beta.3 1,912 12/14/2021
4.2.0-beta.2 777 12/13/2021
4.2.0-beta.1 2,073 12/12/2021
4.1.0 4,637,850 11/7/2021
4.0.0 15,518,266 6/8/2021
4.0.0-beta.2 170,257 4/6/2021
4.0.0-beta.1 381,330 11/20/2020
4.0.0-alpha.1 193,114 7/12/2020
3.17.0 27,947,447 7/11/2020
3.17.0-beta.2 27,956 6/25/2020
3.17.0-beta.1 192,727 4/19/2020
3.16.1 24,635,621 1/18/2020
3.16.0 1,382,682 1/3/2020
3.15.1 17,938,582 8/30/2019
3.15.0 698,791 8/23/2019
3.14.0 1,245,840 8/8/2019
3.13.0 12,851,165 2/21/2019
3.12.0 4,532,721 12/19/2018
3.11.2 1,776,713 11/22/2018
3.11.1 286,903 11/21/2018
3.11.0 5,439,247 10/28/2018
3.10.0 12,171,438 3/8/2018
3.9.0 4,632,677 10/30/2017
3.8.0 2,512,620 7/19/2017
3.8.0-alpha1 255,796 5/4/2017
3.7.0 1,945,785 1/26/2017
3.6.0 665,474 11/15/2016
3.5.1 93,282 10/28/2016
3.5.0 150,014 10/23/2016
3.4.1 630,439 8/5/2016
3.4.0 110,179 7/3/2016
3.2.0 93,179 6/4/2016
3.0.10 119,444 4/19/2016
3.0.9-ctp-9 11,917 4/3/2016
3.0.8-ctp-8 160,325 12/2/2015
3.0.7-ctp-7b 6,084 11/17/2015
3.0.7-ctp-7 1,709 11/16/2015
3.0.6-ctp-6 1,857 11/11/2015
3.0.5-ctp-5 1,344 11/10/2015
3.0.4-ctp-4 5,700 7/21/2015
3.0.2-ctp-3 2,314 5/22/2015