Regression test selection in test-driven development

被引:0
|
作者
Zohreh Mafi
Seyed-Hassan Mirian-Hosseinabadi
机构
[1] Sharif University of Technology,Engineering Faculty
[2] Intl. Campus,Faculty Member of Computer Engineering Department
[3] Sharif University of Technology,undefined
来源
关键词
Software testing; Test-driven development (TDD); Regression test; Program differencing; Segmentation; Change detection;
D O I
暂无
中图分类号
学科分类号
摘要
The large number of unit tests produced in the test-driven development (TDD) method and the iterative execution of these tests extend the regression test execution time in TDD. This study aims to reduce test execution time in TDD. We propose a TDD-based approach that creates traceable code elements and connects them to relevant test cases to support regression test selection during the TDD process. Our proposed hybrid technique combines text and syntax program differences to select related test cases using the nature of TDD. We use a change detection algorithm to detect program changes. Our experience is reported with a tool called RichTest, which implements this technique. In order to evaluate our work, seven TDD projects have been developed. The implementation results indicate that the RichTest plugin significantly decreases the number of test executions and also the time of regression testing despite considering the overhead time. The test suite effectively enables fault detection because the selected test cases are related to the modified partitions. Moreover, the test cases cover the entire modified partitions; accordingly, the selection algorithm is safe. The concept is particularly designed for the TDD method. Although this idea is applicable in any programming language, it is already implemented as a plugin in Java Eclipse.
引用
收藏
相关论文
共 50 条
  • [1] Regression test selection in test-driven development
    Mafi, Zohreh
    Mirian-Hosseinabadi, Seyed-Hassan
    AUTOMATED SOFTWARE ENGINEERING, 2024, 31 (01)
  • [2] Professionalism and test-driven development
    Martin, Robert C.
    IEEE SOFTWARE, 2007, 24 (03) : 32 - +
  • [3] Scaling test-driven development
    Ambler, Scott W.
    DR DOBBS JOURNAL, 2008, 33 (02): : 71 - 73
  • [4] Test-Driven Development of Ontologies
    Keet, C. Maria
    Lawrynowicz, Agnieszka
    SEMANTIC WEB: LATEST ADVANCES AND NEW DOMAINS, 2016, 9678 : 642 - 657
  • [5] A family of experiments on test-driven development
    Adrian Santos
    Sira Vegas
    Oscar Dieste
    Fernando Uyaguari
    Ayşe Tosun
    Davide Fucci
    Burak Turhan
    Giuseppe Scanniello
    Simone Romano
    Itir Karac
    Marco Kuhrmann
    Vladimir Mandić
    Robert Ramač
    Dietmar Pfahl
    Christian Engblom
    Jarno Kyykka
    Kerli Rungi
    Carolina Palomeque
    Jaroslav Spisak
    Markku Oivo
    Natalia Juristo
    Empirical Software Engineering, 2021, 26
  • [6] Industrial Application of Automated Regression Testing in Test-Driven ETL Development
    Dzakovic, Miroslav
    32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 582 - 585
  • [7] Formal Test-Driven Development with Verified Test Cases
    Aichernig, Bernhard K.
    Lorber, Florian
    Tiran, Stefan
    PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 626 - 635
  • [8] Test-Driven Development: a systematic review
    Benato, Gustavo Baculi
    Souza Vilela, Plinio Roberto
    REVISTA BRASILEIRA DE COMPUTACAO APLICADA, 2021, 13 (01): : 75 - 87
  • [9] Towards Traceable Test-Driven Development
    Hayes, Jane Huffman
    Dekhtyar, Alex
    Janzen, David S.
    2009 ICSE WORKSHOP ON TRACEABILITY IN EMERGING FORMS OF SOFTWARE ENGINEERING (TEFSE), 2009, : 26 - +
  • [10] Assessing test-driven development at IBM
    Maximilien, EM
    Williams, L
    25TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2003, : 564 - 569