Reputation: 6806
I have a C# solution containing an NUnit test project. This project is refusing to run any tests; they are found by discovery but then I get these errors (among others) in the output window:
The active test discovery was aborted. Reason: Test host process crashed
========== Test discovery aborted: 0 Tests found in 1.9 sec ==========
---------- Resuming previously aborted test discovery ----------
Test project Tests does not reference any .NET NuGet adapter. Test discovery or execution might not work for this project.
Now I did add that reference (NUnit3TestAdapter) but I still see this error. What's going on? Why won't my tests run? Thanks in advance! :)
Upvotes: 2
Views: 3275
Reputation: 181
Had the same issue. Installing 'NUnit3TestAdapter' nuget package in the UnitTest project fixed the problem for me.
Upvotes: 3
Reputation: 1685
Make sure you referred "nunit.framework.dll" in your test project
Upvotes: 0