I am currently working on a solution that has currently 32 Unittests. I have been working with the resharper test runner - which works fine. All tests are running, all tests are showing the right test outcome.
However, the tests are not running when using the Visual Studio test explorer.
The Test Explorer is showing all unit tests, but once clicking on "Run All", all tests are getting greyed out and show no result of the test run:
[TestClass]
attribute declared[TestMethod]
attributeobj
, bin
, Debug
and Release
foldersI'd appreciate any hints which would explain this behaviour.
If your projects aren't all AnyCpu then you may also want to check that the following 2 settings match:
[Right click test project] -> properties -> Build -> Platform target - e.g. x64
[Main Menu] -> Test -> Test Settings -> Default Processor Architecture -> X64
I found that when these didn't match my test project would silently fail to run.