Public Agile

Glossary term

TDD – Test Driven Development

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.

Related Subjects

Acceptance Criteria ATDD – Acceptance Test Driven Development BDD – Behavior Driven Development

Acknowledgements

Authored by Philip Rogers

Photo by Jeswin Thomas on Unsplash

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 Resources as the source, who the author is, and the photo creator (if used).

Back to the glossary