Resharper Ignores all MSTest .net core unit tests
Completed
Why is Resharper 2018.3.2 unable to run any .net core unit tests?
I have created a simple test solution with a single test. When I try to run the test using the Resharper test runner, I get a warning message saying "Test-case objects missing for the following elements:". The results of the test say, "Ignored: VsTest test-case is missing. Rebuild the project and try again."
Why can't Resharper perform this simple task?
I have uploaded the complete solution in a file named ResharperTest.zip.
Please sign in to leave a comment.
Hello Richard!
Thank you for contacting us.
Test run for the specified solution has completed successfully in my case on ReSharper 2018.3.2.
Could you please check if VS test runner runs this test?
Thank you.
Yes, the Visual Studio test runner works fine, but I can not get it to run in Resharper.
Thank you for the reply, Richard.
Could you please run Visual Studio with the following command line: 'devenv /ReSharper.LogFile C:\resharper_log.txt /ReSharper.LogLevel Verbose', reproduce the issue and send us a corresponding 'resharper_log.txt' file. You can do it privately via "Submit a request" form.
Thank you.
I think I figured it out.
If you go to the Resharper Options Tools>Unit Testing > Test Frameworks > MsTest and enter a file that does not exist in the test settings file box, but select Use .runconfig/.testsettings selected in VS UI, Resharper should ignore the filename. However, this appears to cause an error.
Hello Richard!
Thank you for the update and revealing the problem.
I've filed correspondent issue here - https://youtrack.jetbrains.com/issue/RSRP-473320.
You are welcome to comment or vote for it.
Thank you.