Automated test reuse for highly configurable software

被引:8
|
作者
Fischer, Stefan [1 ]
Michelon, Gabriela Karoline [2 ]
Ramler, Rudolf [1 ]
Linsbauer, Lukas [3 ]
Egyed, Alexander [2 ]
机构
[1] Software Competence Ctr Hagenberg GmbH, Hagenberg, Austria
[2] Johannes Kepler Univ Linz, Inst Software Syst Engn, Linz, Austria
[3] Tech Univ Carolo Wilhelmina Braunschweig, Inst Software Engn & Automot Informat, Braunschweig, Germany
基金
奥地利科学基金会;
关键词
Variability; Configurable software; Clone-and-own; Reuse; Testing; PRODUCT LINES;
D O I
10.1007/s10664-020-09884-x
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dealing with highly configurable systems is generally very complex. Researchers and practitioners have conceived hundreds of different analysis techniques to deal with different aspects of configurable systems. One large focal point is the testing of configurable software. This is challenging due to the large number of possible configurations. Moreover, tests themselves are rarely configurable and instead built for specific configurations. However, existing tests need to be adapted to run on a different configuration. In this paper, we report on an experiment about automatically reusing existing tests in configurable systems. We used manually developed tests for specific configurations of three configurable systems and investigated how changing the configuration affects the tests. Subsequently, we employed an approach for automated reuse to generate new test variants (by reusing from existing ones) for combinations of previous configurations and compared their results to the ones from existing tests. Our results showed that we could directly reuse some tests for different configurations. Nonetheless, our automatically generated test variants generally yielded better results. Our generated tests had a higher or equal success rate to the existing tests in most cases. Even in the cases the success rate was equal, our generated tests generally had higher code coverage.
引用
收藏
页码:5295 / 5332
页数:38
相关论文
共 50 条
  • [1] Automated test reuse for highly configurable software
    Stefan Fischer
    Gabriela Karoline Michelon
    Rudolf Ramler
    Lukas Linsbauer
    Alexander Egyed
    Empirical Software Engineering, 2020, 25 : 5295 - 5332
  • [2] Automating Test Reuse for Highly Configurable Software An Experiment
    Fischer, Stefan
    Ramler, Rudolf
    Linsbauer, Lukas
    Egyed, Alexander
    SPLC'19: PROCEEDINGS OF THE 23RD INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2020, : 1 - 11
  • [3] TITAN: Test Suite Optimization for Highly Configurable Software
    Marijan, Dusica
    Liaaen, Marius
    Gotlieb, Arnaud
    Sen, Sagar
    Ieva, Carlo
    2017 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2017, : 524 - 531
  • [4] Utilizing Software Reuse Experience for Automated Test Recommendation
    Janjic, Werner
    Atkinson, Colin
    2013 8TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST (AST), 2013, : 100 - 106
  • [5] Comparing Automated Reuse of Scripted Tests and Model-Based Tests for Configurable Software
    Fischer, Stefan
    Ramler, Rudolf
    Linsbauer, Lukas
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 421 - 430
  • [6] Code Smells in Highly Configurable Software
    Fenske, Wolfram
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 602 - 605
  • [7] Test2Feature: Feature-based Test Traceability Tool for Highly Configurable Software
    Mendonca, Willian D. F.
    Vergilio, Silvia R.
    Michelon, Gabriela K.
    Egyed, Alexander
    Assuncao, Wesley K. G.
    26TH ACM INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, SPLC 2022, VOL B, 2022, : 62 - 65
  • [8] Automated code-based test case reuse for software product line testing
    Jung, Pilsu
    Lee, Seonah
    Lee, Uicheon
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 166
  • [9] Architecting for reuse: A software framework for automated negotiation
    Bartolini, C
    Priest, C
    Jennings, NR
    AGENT-ORIENTED SOFTWARE ENGINEERING III, 2002, 2585 : 88 - 100
  • [10] Detection Strategies of Bad Smells in Highly Configurable Software
    Faujdar, Neetu
    Srivastav, Kshitij
    Gupta, Megha
    Saraswat, Shipra
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE CONFLUENCE 2018 ON CLOUD COMPUTING, DATA SCIENCE AND ENGINEERING, 2018, : 31 - 35