Assertion is the key of unit testing

added by notherdev
1/21/2013 2:54:28 AM

0 Kicks, 75 Views

We all probably know about the importance of good unit test suite for our projects and about the Arrange-Act-Assert pattern we should be using in our tests. I don't have anything against the tests not following the AAA form as long as I can read, understand and maintain them easily. But there's one thing I do consider a must in each and every unit test - an assertion.