ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolutionary Search
Rongqi Pan, Taher A. Ghaleb, and Lionel Briand

TL;DR
This paper introduces ATM, a source code-based, similarity-driven test case minimization method using evolutionary search, which significantly improves fault detection over existing techniques while maintaining efficiency.
Contribution
ATM is the first to combine AST-based similarity measures with genetic algorithms for test case minimization relying solely on test code.
Findings
ATM outperforms FAST-R and random minimization in fault detection rates.
ATM achieves higher fault detection (0.82) with 50% test suite reduction.
Minimization process completes within 1.1-4.3 hours on average.
Abstract
Executing large test suites is time and resource consuming, sometimes impossible, and such test suites typically contain many redundant test cases. Hence, test case minimization is used to remove redundant test cases that are unlikely to detect new faults. However, most test case (suite) minimization techniques rely on code coverage (white-box), model-based features, or requirements specifications, which are not always accessible by test engineers. Recently, a set of novel techniques was proposed, called FAST-R, relying solely on test case code for test case minimization, which appeared to be much more efficient than white-box techniques. However, it achieved a comparable low fault detection capability for Java projects, making its application challenging in practice. This paper proposes ATM (AST-based Test case Minimizer), a similarity-based, search-based test case minimization…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software Engineering Techniques and Practices
