Search code examples
unit-testingresharpermspec

MSpec and ReSharper test runner shows specification as PASSED when all its tests FAILED


Is this a bug, or expected behaviour? When using MSpec and ReSharper, in the top pane my specification has clearly failed, but the bottom pane shows it as Passed.

R# shows both PASS and FAIL for a specification


Solution

  • This seems to be an issue with ReSharper. I tried failing the context explicitly but it still shows up as green. I'll contact JetBrains about it.