There is a test-first approach to software development, where three activities are tightly coupled: writing a unit test, writing code, and improving the test and code. Some practitioners use the shorthand of Red – Green – Refactor to refer to Test Driven Development (TDD). The first step in the process is to write a failing test–in many code editors, a failing test is shown in red font. The second step is to write code to make the test pass–which in many code editors changes the font color to green. The final step is improve, or “refactor,” the code.
Test Driven Development Video
Test Driven Development Podcasts
Test Driven Development Example
Authored by Philip Rogers
Agile World Resources are provided as free resources to anyone seeking to learn more and are shared under a creative commons attribution license. This means if you use a resource elsewhere you must name Agile World Publishing as the source, who the author is, and the photo creator (if used).