The following is an excerpt of ScrewUnit's new copious documentation: Writing Good Tests A great test maximizes these features: it provides documentation, explaining the intended functioning of the system as well as how the source code works; it supports ongoing development, as you bit-by-bit write a failing test and make it pass; it supports later refactorings and prevents regression as you add o