Advanced Unit Testing, Part I - Overview. Free source code and p. Oh dear God, anybody who votes [for unit-testing] has major problems.
I hate the @#$% things. And the "Write tests first, code later" paradigm eludes me. I mean, come on, unit testing is not the end-all, be-all people! I don't care how sophisticated your tests are, a "pass/fail" grade is not sufficient to make sure you're ready for production. - David Stone, on the "do you like design or unit testing better" survey. What are the Qualities of a Good Test? What is a good test?
How do we know if we're writing good tests? Kent Beck posited, that tests should be: Isolated (unaffected by the presence, absence, or results of other tests) Automated Quick to write Quick to run Unique (providing confidence not provided by other tests/uncorrelatedwith other tests) Roy Osherove adds that good tests have three fundamental properties: maintainable, trustworthy and readable. Mike Hill has much longer list: Welcome To — PushToTest.