Optimization of Automated and Manual Software Tests in Industrial Practice: A Survey and Historical Analysis

被引:0
|
作者
Haas, Roman [1 ]
Noemmer, Raphael [1 ]
Juergens, Elmar [2 ]
Apel, Sven [3 ]
机构
[1] Saarbrucken Grad Sch Comp Sci, D-66041 Saarbrucken, Germany
[2] CQSE GmbH, D-81249 Munich, Germany
[3] Saarland Univ, Saarland Informat Campus, D-66123 Saarbrucken, Germany
关键词
Testing; Optimization; Manuals; Software; Codes; Industries; Software systems; Software testing; manual testing; test optimization; PRIORITIZATION; MINIMIZATION; SELECTION;
D O I
10.1109/TSE.2024.3418191
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
<bold>Context</bold>: Both automated and manual software testing are widely applied in practice. While being essential for project success and software quality, they are very resource-intensive, thus motivating the pursuit for optimization. <bold>Goal</bold>: We aim at understanding to what extent test optimization techniques for automated testing from the field of test case selection, prioritization, and test suite minimization can be applied to manual testing processes in practice. <bold>Method</bold>: We have studied the automated and manual testing process of five industrial study subjects from five different domains with different technological backgrounds and assessed the costs and benefits of test optimization techniques in industrial practice. In particular, we have carried out a cost-benefit analysis of two language-agnostic optimization techniques (test impact analysis and Pareto testing a technique we introduce in this paper) on 2,622 real-world failures from our subject's histories. <bold>Results</bold>: Both techniques maintain most of the fault detection capability while significantly reducing the test runtime. For automated testing, optimized test suites detect, on average, 80% of failures, while saving 66% of execution time, as compared to 81% failure detection rate for manual test suites and an average time saving of 43%. We observe an average speedup of the time to first failure of around 49 compared to a random test ordering. <bold>Conclusion</bold>: Our results suggest that optimization techniques from automated testing can be transferred to manual testing in industrial practice, resulting in lower test execution time and much lower time-to-feedback, but coming with process-related limitations and requirements for a successful implementation. All study subjects implemented one of our test optimization techniques in their processes, which demonstrates the practical impact of our findings.
引用
收藏
页码:2005 / 2020
页数:16
相关论文
共 5 条
  • [1] Comparing the effort and effectiveness of automated and manual tests An industrial case study
    Dobles, Ignacio
    Martinez, Alexandra
    Quesada-Lopez, Christian
    2019 14TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI), 2019,
  • [2] Reuse with Software Components A Survey of Industrial State of Practice
    Land, Rikard
    Sundmark, Daniel
    Luders, Frank
    Krasteva, Iva
    Causevic, Adnan
    FORMAL FOUNDATIONS OF REUSE AND DOMAIN ENGINEERING, PROCEEDINGS, 2009, 5791 : 150 - +
  • [3] Impact of Software Engineering Research in Practice: A Patent and Author Survey Analysis
    Kotti, Zoe
    Gousios, Georgios
    Spinellis, Diomidis
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 2020 - 2038
  • [4] An Industrial Survey of Safety Evidence Change Impact Analysis Practice
    Luis de la Vara, Jose
    Borg, Markus
    Wnuk, Krzysztof
    Moonen, Leon
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (12) : 1095 - 1117
  • [5] Introducing automated GUI testing and observing its benefits: an industrial case study in the context of law-practice management software
    Garousi, Vahid
    Yildmm, Erdem
    2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, : 138 - 145