-
Notifications
You must be signed in to change notification settings - Fork 723
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
Visual Studio 2017 RC does not detect nunit tests #2051
Comments
If I am not wrong, the test runner for 2017 isn't ready yet. |
The adapter supports VS 2017 but not .NET Core as yet. See the issue referenced by @JustinRChou |
@CharliePoole read again, my project targets BOTH .NET Framework 4.0 not .NET Core. The tests are not detected even if I remove the multitargetting and leave .NET Framework 4.0 alone. |
@claunia The test explorer in the IDE is having issues since the NUnit test adapter hsan't been updated for that IDE. |
@JustinRChou The NUnit 3 Test Adapter is developed and tested using VS2017. In fact, it's not possible to build it with VS2015 or lower any longer. @claunia Am I correct to assume we are talking about the NUnit 3 Visual Studio Adapter and not the NUnit dotnet runner? I'd like to move the problem to the correct repository. |
@CharliePoole I'm pretty much old-fashioned, I'm not using dotnet but VS only. This is exactly what I did: |
@claunia It's possible that starting out with a .NET core project has led to the problem. Things you may try:
I'm moving this to the adapter repository. |
Issue moved to nunit/nunit3-vs-adapter #305 via ZenHub |
Hi,
Visual Studio 2017 RC does not detect nunit tests. Package references NUnit 3.6.0, VS has NUnit 3 Test Adapter 3.7.0.0 installed, and project targets both .NET 4.0 and .NET Core RC4.
Running manually nunit from console or GUI works (targetting the .NET 4.0), but gets no debug backtrace (showing simply NullReferenceException on the test but not the backtrace of where it really happened).
The text was updated successfully, but these errors were encountered: