NUnit3TestAdapter 4.5.0Prefix Reserved
dotnet add package NUnit3TestAdapter --version 4.5.0
NuGet\Install-Package NUnit3TestAdapter -Version 4.5.0
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
paket add NUnit3TestAdapter --version 4.5.0
#r "nuget: NUnit3TestAdapter, 4.5.0"
// Install NUnit3TestAdapter as a Cake Addin #addin nuget:?package=NUnit3TestAdapter&version=4.5.0 // Install NUnit3TestAdapter as a Cake Tool #tool nuget:?package=NUnit3TestAdapter&version=4.5.0
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
or the latest developer build version
Builds on master
The NUnit3TestAdapter wiki is the best place to start.
Also check the release notes.
Visual Studio 2022 is the recommended version to build and test the adapter.
.\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
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
mock-assembly tests are not for direct running.
See https://github.com/nunit/docs/wiki/Packaging-the-V3-Adapter for more details.
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.
- This adapter works with NUnit 3.0 and higher only. Use the NUnit 2 Adapter to run NUnit 2.x tests.
- 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 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.|
|.NET Core||netcoreapp3.1 is compatible.|
|.NET Framework||net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
This package has no dependencies.
NuGet packages (196)
Showing the top 5 NuGet packages that depend on NUnit3TestAdapter:
Combined package to setup SpecFlow with NUnit easily for running the tests with the NUnit runners.
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.
A testing framework for the Analyze Re Client Library
This package contains tests for CK.DB.Actor (uses CK.DB.Tests.NUnit).
This package contains tests for CK.DB.Auth (uses CK.DB.Tests.NUnit).
GitHub repositories (878)
Showing the top 5 popular GitHub repositories that depend on NUnit3TestAdapter:
Experimental Nintendo Switch Emulator written in C#
Launcher for Windows, an alternative to Alfred and Launchy.
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!