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

Notification

Icon
Error

NCrunch does not output Assert.Ignore reason
GreenMoose
#1 Posted : Thursday, March 30, 2017 9:45:50 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
When I use NUnit's Assert.Ignore (and have inconclusive tests as failing), I don't get the actual message (same behavior in vstudio-addin and console tool) so output is something like
Quote:

[10:56:42][...ItReturnsRefreshedCurrentTime]
[10:56:42][...ItReturnsRefreshedCurrentTime]
[10:56:42][...ItReturnsRefreshedCurrentTime] NCrunch: This test reported an inconclusive result. You can adjust whether NCrunch should treat this result as a pass by using the 'Consider inconclusive tests as passing' NCrunch project-level configuration setting.

making it hard to tell from the error why test is ignored.

(with 2 empty lines for some reason)
Is this a technical limitation ?

Thanks.
Remco
#2 Posted : Thursday, March 30, 2017 10:47:26 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)
This looks to be a fault in NCrunch's handling of the inconclusive state. It simply isn't taking into account the message returned by NUnit. Thanks for reporting it. I've noted it down to be fixed.
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.019 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download