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 条
  • [21] Bad Smells of Gang of Four Design Patterns: A Decade Systematic Literature Review
    Almadi, Sara H. S.
    Hooshyar, Danial
    Ahmad, Rodina Binti
    SUSTAINABILITY, 2021, 13 (18)
  • [22] A Systematic Literature Review: Code Bad Smells in Java']Java Source Code
    Gupta, Aakanshi
    Suri, Bharti
    Misra, Sanjay
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2017, PT V, 2017, 10408 : 665 - 682
  • [23] Exploring the Relationship Between Music and Alzheimer's Disease: A Systematic Literature Review
    Otero, V
    Rodriguez, M.
    ARCHIVES OF CLINICAL NEUROPSYCHOLOGY, 2017, 32 (06) : 757 - 757
  • [24] Exploring the Link Between Oral Lichen Planus and Xerostomia: A Systematic Literature Review
    Aghahosseini, Farzaneh
    Tahmasebinasab, Maryam
    Vatanpour, Mehdi
    IMMUNITY INFLAMMATION AND DISEASE, 2024, 12 (12)
  • [25] Exploring the Connections between Agroecological Practices and Ecosystem Services: A Systematic Literature Review
    Palomo-Campesino, Sara
    Gonzalez, Jose A.
    Garcia-Llorente, Marina
    SUSTAINABILITY, 2018, 10 (12)
  • [26] A Systematic Literature Review Exploring Objectification and Motherhood
    Beech, Olivia Donati
    Kaufmann, Leah
    Anderson, Joel
    PSYCHOLOGY OF WOMEN QUARTERLY, 2020, 44 (04) : 521 - 538
  • [27] Examining deep learning’s capability to spot code smells: a systematic literature review
    Ruchika Malhotra
    Bhawna Jain
    Marouane Kessentini
    Cluster Computing, 2023, 26 : 3473 - 3501
  • [28] Examining deep learning's capability to spot code smells: a systematic literature review
    Malhotra, Ruchika
    Jain, Bhawna
    Kessentini, Marouane
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2023, 26 (06): : 3473 - 3501
  • [29] Is general practice effective?: A systematic literature review
    Engström, S
    Foldevi, M
    Borgquist, L
    SCANDINAVIAN JOURNAL OF PRIMARY HEALTH CARE, 2001, 19 (02) : 131 - 144
  • [30] The feedback of teaching practice, a systematic review of the literature
    Pedroza Zuniga, Luis Horacio
    Garcia-Poyato Falcon, Jihan
    PROFESORADO-REVISTA DE CURRICULUM Y FORMACION DE PROFESORADO, 2022, 26 (03): : 557 - 581