James Nail
My feedback
2 results found
-
Mark tests using TestCaseSource as failed if an error in the method providing the TestCaseData fails
5 votesAn error occurred while saving the comment James Nail supported this idea ·
-
1 vote
James Nail shared this idea ·
I do this exact same thing too. It's not just necessarily TestCaseSource though -- any dynamically generated test cases generally suffer from this. In my case I use AutoFixture's autodata attributes feature, and when something is wrong with one of my tests, NCrunch just stops recognizing that test entirely.
Resharper will still run my test and show me any exceptions that were thrown in test setup.