-
Notifications
You must be signed in to change notification settings - Fork 157
Visual Studio Test Adapter
The NUnit 3 Test Adapter allows you to run NUnit 3 tests inside Visual Studio. This is a new adapter, based partly on the code of the original NUnit Test Adapter, but modified to work with NUnit 3.
It is not possible to run NUnit 2.x tests using this adapter. Use the original adapter for that purpose. If you need to work with projects using NUnit 2.x and other projects using NUnit 3, you may install both versions of the adapter.
The current release is designed to work with Visual Studio 2012, 2013, 2015, 2017 and 2019. Some features are not available under VS2012 RTM. It also works om command line using either vstest.console or dotnet test, and is also used by Jetbrains ReSharper for Visual Studio and Rider IDE, and their corresponding command line tool.
The current release works with .net framework 3.5 and higher, and with .net core 2.* and 3.*.
Releases of Visual Studio prior to VS 2012 did not have the ability to directly run tests built with Open Source testing frameworks like NUnit.
The adapter is delivered as a nuget package, to be installed into all test projects.
Note there is also a VSIX extension version, which was used earlier for Visual Studio. The support for this has been deprecated, allthough it still works. The recommondation is to avoid this and use the nuget version.
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0