NUnit 3.0 Visual Studio test adapter for use under VS 2012 or later
C# PowerShell
OsirisTerje Merge pull request #507 from andreyns/feature/msTestCategories
Return test cases categories in a Trx compatible way
Latest commit 1af9162 Jul 20, 2018
Permalink
Failed to load latest commit information.
.github Fixed small grammer/layout issues Jul 1, 2017
nuget Updated project URL in nuspec file Jun 5, 2018
src Merge pull request #507 from andreyns/feature/msTestCategories Jul 20, 2018
tools Upgraded Cake to latest version and switched it to install .NET Core … Oct 3, 2017
.editorconfig Add editor settings files Nov 9, 2014
.gitattributes Merge changes from drognanar:runsettings Oct 27, 2016
.gitignore .NET 3.5 is building and tests are passing Apr 8, 2017
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Dec 2, 2017
DisableAppDomain.runsettings Run tests in same AppDomain against the correct TestPlatform.ObjectMo… Feb 11, 2018
LICENSE.txt Update copyright Jun 21, 2017
NUnit3TestAdapter.sln Switched sln to utf8 so git diff is viewable Feb 26, 2018
NUnit3TestAdapter.sln.DotSettings Rename projects; update packaging scripts Mar 27, 2015
NuGet.Config Removed the check to verify if traits are supported by reflection met… Sep 21, 2017
Osiris.Extended.ruleset Added more tests, code fixups. Oct 15, 2017
README.md Add source-stepping docs link in readme Mar 7, 2018
Rebracer.xml Switched to using a Nuget package but the version of the assembly I h… Dec 27, 2015
appveyor.yml Updated version for 3.11 development Mar 8, 2018
build.cake Remove redundant test runs May 23, 2018
build.cmd Add build.cake script Jul 4, 2016
build.ps1 Updated dotnet SDK to 2.1.201 so we don't have to skip any tests May 23, 2018
copynp.cmd Adding dumping of xml discovery and results, only .net framework so far Oct 6, 2017

README.md

NUnit 3 VS Test Adapter

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

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

License

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

Developing

Visual Studio 2017 is required to build the adapter.

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

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

Visual Studio’s Test Explorer only allows you to run tests against the first target in the test project (upvote). That makes command line is the easiest way to run .NET Core tests for now. 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.

Announcement

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)