Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading to Nunit 3.0, the VS Test runner is missing tests #1079

Closed
ericnewton76 opened this issue Nov 27, 2015 · 3 comments
Closed

Comments

@ericnewton76
Copy link

Just upgraded to NUnit v3.0.0 from NUnit v2.6.4 via nuget update, but now the tests don't show up in VS Test Runner extension...

Also made sure that build configuration for x64/x86 was correct but no dice?

@rprouse
Copy link
Member

rprouse commented Nov 27, 2015

For anyone else who finds this issue, you must install the new NUnit3 Test Adapter. The original NUnit2 adapter only runs v2 tests and the new NUnit3 adapter only runs v3 tests.

https://visualstudiogallery.msdn.microsoft.com/0da0f6bd-9bb6-4ae3-87a8-537788622f2d

If you will only be using NUnit 3.0 going forward, I would recommend that you also uninstall or disable the old NUnit Test Adapter so that one less test extension is searching for tests. They work together, but it slows you down a bit having adapters that aren't used.

@rprouse
Copy link
Member

rprouse commented Nov 7, 2016

@danieltharris you can still install the adapter for the projects, but you need to use the new v3 adapter, not the old adapter. Remove the NuGet reference for NUnitTestAdapter and add one for NUnit3TestAdapter

@danieltharris
Copy link

@rprouse Thanks I've found that now and got it working. It's much easier this way versus VISX extensions. Glad it's still possible with v3. Not sure how I missed the package in the NuGet explorer the first few times

@rprouse rprouse modified the milestone: Closed Without Action Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants