Links for 9-Jul
Spartan Programming (Is this madness? No, it's Sparta!)
Replacing [ExpectedException(typeof(T))] with MyAssert.Throws<T> -- Checking the right line threw is less of an issue when you combine test runs with code-coverage, but even there this technique still helps as it moves all the post-Exception uncovered coded points into one central location for you.
No comments :
Post a Comment