Tip – When writing custom assertion methods – Keep your assertion stac(daniel.wertheim.se)
submitted by
sedanwer(216) 1 year, 11 months ago
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...
|category: Unit Testing
|Views: 4
tags:
Testing another
Everyones tags:
Your Tags: