Test-driven development
The
test-driven development is the method of
software development where tests specify interfaces of implementation and all code must be passed the tests.
It is one of primary practices of Extreme Programming.
See also: Unit test, JUint, Testing first