Test-Driven Development

Authored by: Hakan Erdogmus , Grigori Melnik , Ron Jeffries

Encyclopedia of Software Engineering

Print publication date:  November  2010
Online publication date:  November  2010

Print ISBN: 9781420059779
eBook ISBN: 9781351249270
Adobe ISBN:

10.1081/E-ESE-120044180

 Download Chapter

 

Abstract

Test-driven development (TDD) is a software development approach using a growing scaffold of tests that guide and support the production of code. This entry describes TDD, explains the underlying dynamics, provides a small worked example, and offers a theory of how and why it works. It relates TDD to other approaches that employ a similar style of development and presents a summary of the empirical results about TDD's effectiveness. The entry also raises some of the known concerns and challenges about this development practice and provides pointers to solutions. TDD is a practice that has widespread impact on the software development lifecycle. Adopting it takes a great amount of discipline. However, we cannot say whether TDD is right for everyone and for all types of software: this entry should help the reader decide whether to explore further.

 Cite
Search for more...
Back to top

Use of cookies on this website

We are using cookies to provide statistics that help us give you the best experience of our site. You can find out more in our Privacy Policy. By continuing to use the site you are agreeing to our use of cookies.