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 条
  • [1] Oracles of Bad Smells - a Systematic Literature Review
    Ferreira Trindade, Rafael Prates
    da Silva Bigonha, Mariza Andrade
    Marques Ferreira, Kecia Aline
    34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020, 2020, : 62 - 71
  • [2] A systematic literature review on Android-specific smells
    Wu, Zhiqiang
    Chen, Xin
    Lee, Scott Uk-Jin
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 201
  • [3] Code Smells Detection and Visualization: A Systematic Literature Review
    dos Reis, Jose Pereira
    Brito e Abreu, Fernando
    Carneiro, Glauco de Figueiredo
    Anslow, Craig
    ARCHIVES OF COMPUTATIONAL METHODS IN ENGINEERING, 2022, 29 (01) : 47 - 94
  • [4] Code Smells Detection and Visualization: A Systematic Literature Review
    José Pereira dos Reis
    Fernando Brito e Abreu
    Glauco de Figueiredo Carneiro
    Craig Anslow
    Archives of Computational Methods in Engineering, 2022, 29 : 47 - 94
  • [5] Android Source Code Smells: A Systematic Literature Review
    Fawad, Muhammad
    Rasool, Ghulam
    Palma, Francis
    SOFTWARE-PRACTICE & EXPERIENCE, 2024,
  • [6] The Connection between Bacteria and Cancer: A Systematic Review of the Current Literature
    Conti, Matteo
    Vadala, Maria
    Palmieri, Beniamino
    Tari, Sergio Rexhep
    Di Carmine, Maria Stella
    Lorusso, Felice
    Gehrke, Sergio Alexandre
    Inchingolo, Francesco
    Scarano, Antonio
    JOURNAL OF BIOLOGICAL REGULATORS AND HOMEOSTATIC AGENTS, 2023, 37 (07): : 3431 - 3454
  • [7] Exploring the Intricate Connection Between Vitamin B12 Deficiency and Hearing Loss: A Systematic Literature Review
    Rodrigues, Joyline
    Anand, Shubhangi
    Gunjawate, Dhanshree R.
    Kumar, Kaushlendra
    Ravi, Rohit
    ENT-EAR NOSE & THROAT JOURNAL, 2025,
  • [8] Software Requirement Smells and Detection Techniques: A Systematic Literature Review
    Alemneh, Esubalew
    Berhanu, Fekerte
    CYBERNETICS AND INFORMATION TECHNOLOGIES, 2024, 24 (04) : 78 - 107
  • [9] A Systematic Literature Review on the Code Smells Datasets and Validation Mechanisms
    Zakeri-Nasrabadi, Morteza
    Parsa, Saeed
    Esmaili, Ehsan
    Palomba, Fabio
    ACM COMPUTING SURVEYS, 2023, 55 (13S)
  • [10] The Impact of Code Smells on Software Bugs: A Systematic Literature Review
    Cairo, Aloisio S.
    Carneiro, Glauco de F.
    Monteiro, Miguel P.
    INFORMATION, 2018, 9 (11):