The Claims about Test Driven Development

Mingsheng Bai

AbstractIn the traditional software development process, unit- and functional tests are written after the code is implemented. However, recently agile software development methods were introduced which also change traditional testing practice. Test driven development (TDD) is a practice of eXtreme Programming (XP) where unit- and functional tests drive the development of the code. This means that the tests are written before the actual code that is going to be tested. It is claimed, among others, that TDD produces better code quality.

The goal of this thesis is to collect all the claims. Evaluation is done in two steps. The first step is studying the literature for supporting or contradictory evidences. The second step is implementing two case studies: a GUI based cinema reservation system and a GUI based shop stock management system. One case study is done using a traditional software process, where the tests are written after the implementation, and the second case study is done using XP and TDD. The results of the case studies are then compared with the results from the literature.
TypeMaster's thesis [Academic thesis]
Year2007
PublisherInformatics and Mathematical Modelling, Technical University of Denmark, DTU
AddressRichard Petersens Plads, Building 321, DK-2800 Kgs. Lyngby
SeriesIMM-Thesis-2007-104
NoteSupervised by Assoc. Prof. Hubert Baumeister, IMM, DTU.
Electronic version(s)[pdf]
BibTeX data [bibtex]
IMM Group(s)Computer Science & Engineering