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

Notification

Icon
Error

Doesn't display green cross icon when expected exception throws in NUnit test
ylee
#1 Posted : Friday, March 9, 2012 6:07:07 PM(UTC)
Rank: Member

Groups: Registered
Joined: 2/15/2012(UTC)
Posts: 20

Thanks: 6 times
Was thanked: 3 time(s) in 3 post(s)
NCrunch 1.38.0.17b
Visual Studio 2010
Windows 7 64bit

Hi,

NCrunch displays a green cross icon when expected exception throws in MSTest. This is a very cool feature!


But it's not working for NUnit test.

Remco
#2 Posted : Sunday, March 11, 2012 9:02:43 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi, thanks for posting!

This feature actually came into existence by accident, but I liked it so much that I thought it would be a good one to keep. Unfortunately it only works for MSTest, because other test frameworks swallow up the expected exception in such a way that NCrunch isn't able to parse it to figure out the line numbers. Sorry, at the moment I have no solution to this.


Cheers,

Remco
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.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download