Daily Usage Issues

Doesn't display green cross icon when expected exception throws in NUnit test

Started by ylee on 8,303 views

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!
External image

But it's not working for NUnit test.
External image
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

Post a reply

Log in to reply.