Question

I'm using VS2013 Professional with Resharper 8.1 I have a project which has all the tests, some of them are made with MSTest and most of them are NUnit tests. However, since I installed Resharper 8.1, the NUnit tests don't run anymore when I click the "Run all tests" button. I have to go to the resharper menu and select Unit Tests -> Run All Tests from Solution. Or if I want to see the coverage, it doesn't work if I click the "Cover all tests with dotCover", I have to go to Resharper -> Unit tests -> Cover all tests from solution. Here's a screenshot: http://prntscr.com/2bkizm The BDD folder has 4 SpecFlow scenarios which use MSTest. The Unit Tests folder has NUnit tests, and those aren't run when I click one of those buttons. Do you know why is this happening? I already tried reinstalling an older version of Resharper, but it doesn't work. Thank you!

Was it helpful?

Solution

In Resharper 8.0, the functionality of Run all tests is only to run all tests that are currently in the test session, i.e. the window. If you use Run all tests from solution it creates a new tab with all tests from your solution in it and runs all of those. Looking at the release notes for 8.1 (http://blogs.jetbrains.com/dotnet/2013/12/resharper-81-goes-rtm-along-with-dotcover-dottrace/) there is no hint that this this functionality will change.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top