Test-driven development

(translated from German) Test-first development is a JIT design technique to respond to JIT requirements. Programmers write a test case before writing any new line of code. Only after the test failed, because the function is not implemented yet, the program is changed to make the tests pass. After that, the design will be improved through a myriad of tiny refactoring moves, running the test suite after every change. [Article Text]