- Start Visual Studio 2017
- Load solution with multiple projects
- Right-click on solution
- Click "Run Tests"
It compiles the solution and then writes in the Output windows (Test Runner scope):
Test started…
A discovery request is already in progress. Only one active discovery request is supported.
at Microsoft.VisualStudio.TestPlatform.Client.TestRunnerServiceProxy.DiscoverTests(IEnumerable`1 sources, String settings, Int64 frequencyOfDiscoveredTestsEvent, TimeSpan discoveredTestEventTimeout)
at Microsoft.VisualStudio.TestPlatform.Client.TestRunnerServiceClient.<>c__DisplayClass5_0.<DiscoverTests>b__0(TestRunnerServiceProxy proxy)
at Microsoft.VisualStudio.TestPlatform.Client.TestRunnerServiceClient.InvokeTestRunnerServiceAction(Boolean forceX86Discoverer, Action`1 action)
at Microsoft.VisualStudio.TestPlatform.Client.TestRunnerServiceClient.DiscoverTests(IEnumerable`1 sources, String settings, Int64 frequencyOfDiscoveredTestEvent, ITestCaseDiscoveryLog testCaseDiscoveryLog, TimeSpan discoveredTestEventTimeout)
at Microsoft.VisualStudio.TestPlatform.Client.Rocksteady.RocksteadyDiscoveryManager.DiscoverTestsForTestRun(DiscoveryCriteria discoveryCriteria, ITestDiscoveryEventsHandler eventHandler)
at Microsoft.VisualStudio.TestPlatform.Client.Rocksteady.RocksteadyDiscoveryManager.DiscoverTests(DiscoveryCriteria discoveryCriteria, ITestDiscoveryEventsHandler eventHandler)
at Microsoft.VisualStudio.TestPlatform.Client.DiscoveryRequest.Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.IDiscoveryRequest.DiscoverAsync()
at DevExpress.CodeRush.TestRunner.MsTests15.DiscoveryOperation.<DiscoverInternal>d__2.MoveNext()
Hi Marcus,
I have reproduced the issue. Please give us some time to research it in detail.
I am also having this same issue and I just recently took the update to build 17.1.9. I had never had this issue that I noticed prior to this build.
Ian,
We are researching the issue right now and it seems that it's related to our recent changes in MS Test framework support. Thank you for your patience.
Guys,
We have fixed this problem. Please install the build from the link and let us know your results.
I dont see a link? Is the Hotfix build/link still being prepared?
Ian,
See the link word in my previous message and click it. Also I have added it into the hot fix and now you can download the build from this section too.
This appears to have fixed the issue.
I'm happy to hear that the problem is solved. Feel free to contact us if you have any future difficulties.
Confirmed that this fixed the issue for me too.
Hi Jim,
Thank you for letting us know that the problem went away with this fix. We are happy to hear that.
I use 17.2.3 together with VS 2017 15.5.0 and still problem.
Right click solution, "Run tests" -> it compiles the solution and writes to Test runner output window: "Test started…", but nothing more happens.
Hello Marcus,
The issue with MSTests and the Visual Studio 15.5.0 update was already reported . We are working on the fix now. Please track this thread: Test Runner does not work with VS 2017 15.5 updateto be notified about our progress.