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

Notification

Icon
Error

Can't hide ignored, failing tests in the test list
janhansen
#1 Posted : Thursday, January 19, 2017 8:14:54 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/19/2017(UTC)
Posts: 2
Location: Denmark

Was thanked: 1 time(s) in 1 post(s)
Hi

I have a fairly small setup with 106 tests, of which 1 fails. My colleague is fixing the test/code so it will suceed again, but until then, I have "ignored" the test.

It is now marked with the yellow sign - and I would expect that I was able to remove it from the tree-view, by switching the "Show ignored tests" button to "not pressed" - but it still appears in the list.

If I ignore a suceeded test, I can show/hide it from the list by clicking the button just fine.

Why is it not possible to ignore failing tests? Or, what am I doing wrong? :)

BR, Jan
Remco
#2 Posted : Thursday, January 19, 2017 11:52:58 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Jan,

Thanks for posting!

Just to confirm - how have you ignored the test? Is this using the 'Ignore test' button on the NCrunch Tests Window? (I ask because some test frameworks have their own concept of 'Ignored' and the term is unfortunately ambiguous).

If so, turning off the filter should normally remove the test from the Tests Window. Unless it has been 'pinned'. Try clicking the 'unpin all tests' button on the top of the Tests Window to be sure.
janhansen
#3 Posted : Friday, January 20, 2017 12:17:32 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/19/2017(UTC)
Posts: 2
Location: Denmark

Was thanked: 1 time(s) in 1 post(s)
Hi

Well spotted :) Somehow I must have pinned it, because I could un-pin it, and everything works as expected now.

Thank you for helping!

BR, Jan
1 user thanked janhansen for this useful post.
Remco on 1/20/2017(UTC)
Users browsing this topic
Guest
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.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download