Monday, September 19, 2011

Test: Automated regression tests

Automated regression tests

help by allowing you to quickly detect any defects that may have been introduced when you are changing things.

The xUnit family of testing frameworks is a particularly valuable tool for building automated unit tests . Starting with the original JUnit, there are now ports to almost every language imaginable (see ) .

A good rule of thumb is that the size of your unit test code should be about the same size as your production code .