Saturday, March 04, 2006

 

What is test-driven development?


What is the main idea of test-driven development?

Test-driven development (TDD), is an evolutionary approach to development which combines test-first development where you write a test before you write just enough production code to fulfill that test and refactoring.

What is the goal of test-driven development?

One view is the goal of TDD is specification and not validation. In other words, it' s one way to think through your design before your write your functional code. Another view is that TDD is a programming technique. So, the goal of TDD is to write clean code that works.

How does a test-driven development cycle look like?

Please refer to the diagram above.

source: http://www.agiledata.org/essays/tdd.html

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?