Resource Constrained Test Case Prioritization with Simulated Annealing in an Industrial Context
2024 (English)In: Proceedings of the ACM Symposium on Applied Computing, Association for Computing Machinery (ACM), 2024, p. 1694-1701Conference paper, Published paper (Refereed)
Abstract [en]
We need to find an effective prioritization of regression test cases due to their growing number. This may happen on parallel test systems and software branches. We compared regression test prioritization approaches against several goals of importance in an industrial context. We experimentally compared different simulated annealing approaches, hypothetical ideal and worst prioritizations, as well as reference prioritizations such as random, historical failure rate, age, etc. These were evaluated against a heuristic metric that combines several factors, as well as reference metrics such as failure count, days since last execution, etc. By simulating resource starvation in terms of available time, we found that some approaches rapidly degraded, e.g., by only prioritizing recently failed tests, the average number of nights since last execution was about five times as bad as for a random selection. The simulated annealing approach with large search space and many iterations came out best for many metrics. Interestingly, the poorest prioritization was achieved by aiming at diversity, and the coverage-based prioritization was poor at finding failures.
Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2024. p. 1694-1701
Keywords [en]
software testing, test case prioritization, Failure rate, Industrial context, Parallel test, Prioritization, Regression tests, Software testings, Systems and software, Test case, Test softwares, Test systems, Simulated annealing
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:mdh:diva-68068DOI: 10.1145/3605098.3635971ISI: 001236958200242Scopus ID: 2-s2.0-85197710424ISBN: 9798400702433 (print)OAI: oai:DiVA.org:mdh-68068DiVA, id: diva2:1884552
Conference
39th Annual ACM Symposium on Applied Computing, SAC 2024, Avila, Spain, 8-12 April, 2024
2024-07-172024-07-172025-10-10Bibliographically approved