A test case prioritization approach based on software component metricsShow others and affiliations
2019 (English)In: IEEE International Conference on Systems Man and Cybernetics Conference Proceedings, Institute of Electrical and Electronics Engineers Inc. , 2019, p. 2939-2945Conference paper, Published paper (Refereed)
Abstract [en]
The most common way of performing regression testing is by executing all test cases associated with a software system. However, this approach is not scalable since time and cost to execute the test cases increase together with the system's size. A way to address this consists of prioritizing the existing test cases, aiming to maximize a test suite's fault detection rate. To address the limitations of existing approaches, in this paper we propose a new approach to maximize the rate of fault detection of test suites. Our proposal has three steps: I) infer code components' criticality values using a fuzzy inference system; ii) calculate test cases' criticality; iii) prioritize the test cases using ant colony optimization. The test cases are prioritized considering criticality, execution time and history of faults, and the resulting test suites are evaluated according to their fault detection rate. The evaluation was performed in eight programs, and the results show that the fault detection rate of the solutions was higher than in the non-ordered test suites and ones obtained using a greedy approach, reaching the optimal value when possible to verify. A sanity check was performed, comparing the obtained results to the results of a random search. The approach performed better at significant levels of statistic and practical difference, evidencing its true applicability to the prioritization of test cases. © 2019 IEEE.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers Inc. , 2019. p. 2939-2945
Series
IEEE International Conference on Systems Man and Cybernetics Conference Proceedings, ISSN 1062-922X
Keywords [en]
Ant colony optimization, Criticality (nuclear fission), Fault detection, Fuzzy inference, Testing, Code components, Fault detection rate, Fuzzy inference systems, Greedy approaches, Regression testing, Software component, Software systems, Test case prioritization, Software testing
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-19083DOI: 10.1109/SMC.2019.8914670ISI: 000521353902157Scopus ID: 2-s2.0-85076747132ISBN: 978-1-7281-4569-3 OAI: oai:DiVA.org:bth-19083DiVA, id: diva2:1383930
Conference
2019 IEEE International Conference on Systems, Man and Cybernetics, SMC, Bari, 6 October 2019 through 9 October 2019
2020-01-092020-01-092020-04-30Bibliographically approved