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

Notification

Icon
Error

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

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

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

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

Thanks: 606 times
Was thanked: 697 time(s) in 667 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
Guest (2)
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.018 seconds.