Tip – When writing custom assertion methods – Keep your assertion stac

added by sedanwer
6/1/2010 1:46:20 PM

2 Kicks, 40 Views

I have bumped in to a couple of custom assertion methods which lets the assertion stack trace contain the assertion method itself. Hence, if I use, e.g. Testdriven.Net, I might double-click on the wrong line and end up in the assertion method instead of the test. It’s really easy to prevent this, just add...


0 comments