Exploring the Connection between the TDD Practice and Test Smells-A Systematic Literature Review

被引:1
|
作者
Marabesi, Matheus [1 ]
Garcia-Holgado, Alicia [1 ]
Garcia-Penalvo, Francisco Jose [1 ]
机构
[1] Univ Salamanca, GRIAL Res Grp, Salamanca 37008, Spain
关键词
TDD; test smells; anti-patterns; agile; practitioners; software development; systematic literature review; TEST-DRIVEN DEVELOPMENT; EXTERNAL QUALITY; PRODUCTIVITY; KNOWLEDGE;
D O I
10.3390/computers13030079
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Test-driven development (TDD) is an agile practice of writing test code before production code, following three stages: red, green, and refactor. In the red stage, the test code is written; in the green stage, the minimum code necessary to make the test pass is implemented, and in the refactor stage, improvements are made to the code. This practice is widespread across the industry, and various studies have been conducted to understand its benefits and impacts on the software development process. Despite its popularity, TDD studies often focus on the technical aspects of the practice, such as the external/internal quality of the code, productivity, test smells, and code comprehension, rather than the context in which it is practiced. In this paper, we present a systematic literature review using Scopus, Web of Science, and Google Scholar that focuses on the TDD practice and the influences that lead to the introduction of test smells/anti-patterns in the test code. The findings suggest that organizational structure influences the testing strategy. Additionally, there is a tendency to use test smells and TDD anti-patterns interchangeably, and test smells negatively impact code comprehension. Furthermore, TDD styles and the relationship between TDD practice and the generation of test smells are frequently overlooked in the literature.
引用
收藏
页数:31
相关论文
共 50 条
  • [31] The systematic review of literature: Synthesizing evidence for practice
    Rew, Lynn
    JOURNAL FOR SPECIALISTS IN PEDIATRIC NURSING, 2011, 16 (01) : 64 - 69
  • [32] Exploring the Relationship between Urban Design and Social Capital: A Systematic Quantitative Literature Review
    Cowan, Monique
    Dupre, Karine
    Fernando, Ruwan
    ARCHITECTURE-SWITZERLAND, 2024, 4 (03): : 493 - 514
  • [33] The professionalisation of translation practice: a systematic review of the literature
    Sulaiman, M. Zain
    Haroon, Haslina
    Zainudin, Intan Safinaz
    Yusoff, Muhamad Jad Hamizan bin Mohamad
    PERSPECTIVES-STUDIES IN TRANSLATION THEORY AND PRACTICE, 2024, 32 (02): : 295 - 318
  • [34] Exploring the synergy between instructional design models and learning theories: A systematic literature review
    Abuhassna, Hassan
    Adnan, Mohamad Azrien Bin Mohamed
    Awae, Fareed
    CONTEMPORARY EDUCATIONAL TECHNOLOGY, 2024, 16 (02)
  • [35] Test Case Selection: A Systematic Literature Review
    Narciso, Everton Note
    Delamaro, Marcio Eduardo
    Dos Santos Nunes, Fatima De Lourdes
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2014, 24 (04) : 653 - 676
  • [36] Test process models: Systematic literature review
    Garcia, Cecilia
    Dávila, Abraham
    Pessoa, Marcelo
    Communications in Computer and Information Science, 2014, 477 : 84 - 93
  • [37] Feminisms and entrepreneurship: a systematic literature review investigating a troubled connection
    Lagrasta, Francesco Paolo
    Scozzi, Barbara
    Pontrandolfo, Pierpaolo
    INTERNATIONAL ENTREPRENEURSHIP AND MANAGEMENT JOURNAL, 2024, 20 (04) : 3081 - 3112
  • [38] Exploring Collaboration in Multiplayer Gamification: A Systematic Literature Review
    Heryanto
    Firmansyah, Feri Hidayatullah
    Rosmansyah, Yusep
    IEEE Access, 2024,
  • [39] Exploring the Resurgence of the Preservation Rhinoplasty: A Systematic Literature Review
    Michael W. Wells
    Anthony DeLeonibus
    Devin Barzallo
    Irene A. Chang
    Marco Swanson
    Bahman Guyuron
    Aesthetic Plastic Surgery, 2023, 47 : 1488 - 1493
  • [40] Exploring the Resurgence of the Preservation Rhinoplasty: A Systematic Literature Review
    Wells, Michael W.
    DeLeonibus, Anthony
    Barzallo, Devin
    Chang, Irene A.
    Swanson, Marco
    Guyuron, Bahman
    AESTHETIC PLASTIC SURGERY, 2023, 47 (04) : 1488 - 1493