Most common mistakes in test-driven development practice: Results from an online survey with developers

Mauricio Finavaro Aniche, Marco Aurélio Gerosa

Research output: Chapter in Book/Report/Conference proceedingConference contribution

14 Scopus citations

Abstract

Test-driven development (TDD) is a software development practice that supposedly leads to better quality and fewer defects in code. TDD is a simple practice, but developers sometimes do not apply all the required steps correctly. This article presents some of the most common mistakes that programmers make when practicing TDD, identified by an online survey with 218 volunteer programmers. Some mistakes identified were: to forget the refactoring step, building complex test scenarios, and refactor another piece of code while working on a test. Some mistakes are frequently made by around 25% of programmers.

Original languageEnglish (US)
Title of host publicationICSTW 2010 - 3rd International Conference on Software Testing, Verification, and Validation Workshops
Pages469-478
Number of pages10
DOIs
StatePublished - 2010
Externally publishedYes
Event3rd International Conference on Software Testing, Verification, and Validation Workshops, ICSTW 2010 - Paris, France
Duration: Apr 6 2010Apr 10 2010

Publication series

NameICSTW 2010 - 3rd International Conference on Software Testing, Verification, and Validation Workshops

Conference

Conference3rd International Conference on Software Testing, Verification, and Validation Workshops, ICSTW 2010
Country/TerritoryFrance
CityParis
Period4/6/104/10/10

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Most common mistakes in test-driven development practice: Results from an online survey with developers'. Together they form a unique fingerprint.

Cite this