Most Common Mistakes in Test-Driven Development Practice: Results from an Online Survey with Developers

Mauricio Finavaro Aniche, Marco Aurélio Gerosa · 2010

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.

Read the paper · More papers on PaperTik