What is "Test Driven Development"?

Test Driven Development (TDD) is an approach where the unit tests drive the development of the software. This is the reverse of what is typically done. When developing Test Driven software, the unit test is written first, then the software. Coding stops when the unit tests all pass. TDD is a key principle in the Agile (and Extreme Programming) methodologies.

I learnt TDD from a book by Kent Beck, Test Driven Development by Example. This book is published by Addison Wesley and should be widely available.

Software developed using TDD is typically more reliable and easier to change than other software.

Home
Copyright (c) 2006. Tony Obermeit. All rights reserved worldwide.