Resource Constrained Test Case Prioritization with Simulated Annealing in an Industrial Context

التفاصيل البيبلوغرافية
العنوان: Resource Constrained Test Case Prioritization with Simulated Annealing in an Industrial Context
المؤلفون: Felding, E., Strandberg, P. E., Quttineh, N. -H, Afzal, Wasif
المصدر: Proceedings of the ACM Symposium on Applied Computing. :1694-1701
مصطلحات موضوعية: 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
الوصف: 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.
وصف الملف: print
URL الوصول: https://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-68068
https://doi.org/10.1145/3605098.3635971
قاعدة البيانات: SwePub