Title :
Most Common Mistakes in Test-Driven Development Practice: Results from an Online Survey with Developers
Author :
Aniche, Mauricio Finavaro ; Gerosa, Marco Aurélio
Author_Institution :
Dept. of Comput. Sci., Univ. of Sao Paulo (USP), Sao Paulo, Brazil
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.
Keywords :
program testing; software maintenance; software quality; software reliability; code defect; complex test scenario; refactoring step; software development practice; software quality; test-driven development; Aggregates; Computer science; Debugging; Industrial control; Productivity; Programming profession; Software design; Software quality; Software testing; Watches; agile practice; common mistakes; tdd;
Conference_Titel :
Software Testing, Verification, and Validation Workshops (ICSTW), 2010 Third International Conference on
Conference_Location :
Paris
Print_ISBN :
978-1-4244-6773-0
DOI :
10.1109/ICSTW.2010.16