Test-Driven Development: a systematic review
DOI:
https://doi.org/10.5335/rbca.v13i1.11154Keywords:
Cost-benefit, Productivity, Quality, Systematic Bibliographic Review, Test-Driven DevelopmentAbstract
Test-Driven Development (TDD) is a software development practice that became famous when Kent Beck defined it as an essential part of Extreme Programming (XP). The present study analyzed, previously published, experiments and study conclusions, related to the effects of TDD on the developers' productivity and on the quality of the software produced, contrasting TDD with Test-Last Development (TLD). Then, a systematic bibliographic review was conducted considering articles published between 2003 and 2020. At the end of the review process, approximately 73\% of the studies analyzed, consisted of experiments with TDD and in 27\% of them, the main theme was TDD itself. The analysis carried out shows that 43\% of the studies pointed to a considerable increase in software quality, while no article pointed to a decrease in quality. Regarding productivity, 28\% of studies pointed to a drop in productivity and 47\% were inconclusive. However, studies did not show significant improvements in productivity when TDD was used. According to the analysis, TDD promotes higher quality, even though some studies indicate the opposite. Regarding productivity, TDD analysis is inconclusive. Therefore, according to the papers analyzed there is no final position regarding the cost-benefit involved in this practice, we discuss some of the possible reasons for this conclusion.
Downloads
Downloads
Published
Issue
Section
License

Todos os artigos estão licenciados com a licença Creative Commons Atribuição-NãoComercial-SemDerivações 4.0 Internacional. Autores que publicam nesta revista concordam com os seguintes termos:
a) Autores mantém os direitos autorais e concedem à revista o direito de primeira publicação, com o trabalho simultaneamente licenciado sob a Licença Creative Commons Attribution que permite o compartilhamento do trabalho com reconhecimento da autoria e publicação inicial nesta revista.
b) Autores têm autorização para assumir contratos adicionais separadamente, para distribuição não-exclusiva da versão do trabalho publicada nesta revista (ex.: publicar em repositório institucional ou como capítulo de livro), com reconhecimento de autoria e publicação inicial nesta revista.
c) Autores têm permissão e são estimulados a publicar e distribuir seu trabalho online (ex.: em repositórios institucionais ou na sua página pessoal) a qualquer ponto antes ou durante o processo editorial, já que isso pode gerar alterações produtivas, bem como aumentar o impacto e a citação do trabalho publicado (Veja O Efeito do Acesso Livre).