Test case selection (TCS) and test case prioritization (TCP) techniques can reduce time to detect the first test failure. Although these techniques have been extensively studied in combination and isolation, they have not been compared one against the other. In this paper, we perform an empirical study directly comparing TCS and TCP approaches, represented by the tools Ekstazi and FAST, respectively. Furthermore, we develop the first combination, named Fastazi, of file-based TCS and similarity-based TCP and evaluate its benefit and cost against each individual technique. We performed our experiments using 12 Java-based open-source projects. Our results show that, in the median case, the combined approach detects the first failure nearly two times faster than either Ekstazi alone (with random test ordering) or FAST alone (without TCS). Statistical analysis shows that the effectiveness of Fastazi is higher than that of Ekstazi, which in turn is higher than that of FAST. On the other hand, FAST adds the least overhead to testing time, while the difference between the additional time needed by Ekstazi and Fastazi is negligible. Fastazi can also improve failure detection in scenarios where the time available for testing is restricted. CCS CONCEPTS • Software and its engineering →Software testing and debugging.
CITATION STYLE
Greca, R., Miranda, B., Gligoric, M., & Bertolino, A. (2022). Comparing and Combining File-based Selection and Similarity-based Prioritization towards Regression Test Orchestration. In Proceedings - 3rd ACM/IEEE International Conference on Automation of Software Test, AST 2022 (pp. 115–125). Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1145/3524481.3527223
Mendeley helps you to discover research relevant for your work.