Good unit tests should fail for exactly one reason, that's why you should be using one assert per unit test. Test one logical concept per test. You can have multiple asserts on the same object. They will usually be the same concept being tested. Roy Osherove.
No comments:
Post a Comment