NCrunch Tests window shows green bar at top, and all included tests are green, but some test fixtures (using Project/Fixture/Test view) are marked with a red X. All of their tests in the tree view are green. It seems this is only due to ignored tests that would fail (but for known reasons, waiting on future dev work, that's why they have been ignored). Is this intended behavior? It's distracting to see the red X's in the list when we'd think of the situation as all green.
Daily Usage Issues
Fixture is marked red X only due to ignored failing tests
Started by Grendil on 5,651 views
Remco NCrunch Developer
#10424
19 May 2017 23:06 UTC
Hi, thanks for sharing this issue.
I have seen edge cases before where the fixture is marked as failing while child tests are all green. I think where I've seen this it's usually been because the engine was set not to execute tests automatically, and I deleted a failing child test. I guess it might be possible if an ignored test had a previous failing state then the fixture might not reset its status until a different child test was re-run, though this should be a temporary state. Does re-running all your tests clear the issue?
I have seen edge cases before where the fixture is marked as failing while child tests are all green. I think where I've seen this it's usually been because the engine was set not to execute tests automatically, and I deleted a failing child test. I guess it might be possible if an ignored test had a previous failing state then the fixture might not reset its status until a different child test was re-run, though this should be a temporary state. Does re-running all your tests clear the issue?
Post a reply
Log in to reply.