Hi!
I use NCrunch 4.11.0.2 with Microsoft Visual Studio Professional 2019 and Microsoft.VisualStudio.TestTools.UnitTesting with Moq. The last couple of months or so, a strange behaviour with the Coverage Markers appeared. Code being covered with unit tests are showing the black color meaning "uncovered" and the same thing for the unit tests in the unit test classes. Even stranger, some of the unit tests that are Ok and supposed to show the color green, are actually showing the color red. Another strange behaviour is when I force an Ok unit test to fail, then the unit test is supposed to change color from green to red, but it doesn't.
I've tried all the basic stuff to get rid of this behaviour, but failed so far.
Attempts to fix the problems:
- Restarting the NCrunch engine to resynchronise with Visual Studio and restarting all projects in solution.
- Disabled/enabled the NCrunch Extension in Visual Studio.
- Deleted the _NCrunch_SOLUTION directory adjacent to the Visual Studio solution file.
- Rerunning the Configuration Wizard.
- Uninstalled NCrunch and reinstalled it.
Do you have any ideas what might cause this behaviour and how to fix it?
Regards,
/Andreas