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 条
  • [41] Exploring Collaboration in Multiplayer Gamification: A Systematic Literature Review
    Heryanto
    Firmansyah, Feri Hidayatullah
    Rosmansyah, Yusep
    IEEE ACCESS, 2024, 12 : 149399 - 149431
  • [42] Across the Great Divide: A Systematic Literature Review to Address the Gap Between Theory and Practice
    Arteaga, Estefania
    Biesbroek, Robbert
    Nalau, Johanna
    Howes, Michael
    SAGE OPEN, 2024, 14 (01):
  • [43] Relations between task delegation and job satisfaction in general practice: a systematic literature review
    Helle Riisgaard
    Jørgen Nexøe
    Jette V. Le
    Jens Søndergaard
    Loni Ledderer
    BMC Family Practice, 17
  • [44] Relations between task delegation and job satisfaction in general practice: a systematic literature review
    Riisgaard, Helle
    Nexoe, Jorgen
    Le, Jette V.
    Sondergaard, Jens
    Ledderer, Loni
    BMC FAMILY PRACTICE, 2016, 17
  • [45] Exploring the Connection Between Sleep and Cluster Headache: A Narrative Review
    Pergolizzi, Joseph V., Jr.
    Magnusson, Peter
    LeQuang, Jo Ann
    Wollmuth, Charles
    Taylor, Robert, Jr.
    Breve, Frank
    PAIN AND THERAPY, 2020, 9 (02) : 359 - 371
  • [46] Exploring the Interconnectedness between English-Medium Instruction and Intercultural Competence: A Systematic Literature Review
    Kremer, Marcelo
    Pinto, Susana
    INTERNATIONAL JOURNAL OF INSTRUCTION, 2025, 18 (01) : 193 - 214
  • [47] Exploring the relationship between neck flexion and neck problems in occupational populations: a systematic review of the literature
    Norasi, Hamid
    Tetteh, Emmanuel
    Sarker, Pramiti
    Mirka, Gary A.
    Hallbeck, M. Susan
    ERGONOMICS, 2022, 65 (04) : 587 - 603
  • [48] Exploring the relationship between mechanisms, actors and instruments in supply chain finance: A systematic literature review
    Chakuu, Sumeer
    Masi, Donato
    Godsell, Janet
    INTERNATIONAL JOURNAL OF PRODUCTION ECONOMICS, 2019, 216 : 35 - 53
  • [49] Exploring the synergy between circular economy and emerging technologies for transportation infrastructure: A systematic literature review
    Yildizbasi, Abdullah
    Celik, Salim Eray
    Arioz, Yagmur
    Chen, Zhuowen
    Sun, Lihua
    Ozturk, Cihat
    JOURNAL OF CLEANER PRODUCTION, 2025, 486
  • [50] A systematic review of the literature exploring the interplay between prostate cancer and type two diabetes mellitus
    Crawley, Danielle
    Chamberlain, Florence
    Garmo, Hans
    Rudman, Sarah
    Zethelius, Bjorn
    Holmberg, Lars
    Adolfsson, Jan
    Stattin, Par
    Carroll, Paul
    Van Hemelrijck, Mieke
    ECANCERMEDICALSCIENCE, 2018, 12