Welcome Guest! To enable all features please Login or Register.



Fixture is marked red X only due to ignored failing tests
#1 Posted : Friday, May 19, 2017 4:57:13 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/18/2017(UTC)
Posts: 48
Location: United States of America

Thanks: 19 times
Was thanked: 10 time(s) in 9 post(s)
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.
#2 Posted : Friday, May 19, 2017 11:06:05 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,179

Thanks: 688 times
Was thanked: 827 time(s) in 787 post(s)
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?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.021 seconds.