LS-sampling: an effective local search based sampling approach for achieving high t-wise coverage
Chuan Luo, Binqi Sun, Bo Qiao, Junjie Chen, Hongyu Zhang, Jinkun Lin, Qingwei Lin, Dongmei Zhang
Abstract
There has been a rapidly increasing demand for developing highly configurable software systems, which urgently calls for effective testing methods. In practice, t-wise coverage has been widely recognized as a useful metric to evaluate the quality of a test suite for testing highly configurable software systems, and achieving high t-wise coverage is important for ensuring test adequacy. However, state-of-the-art methods usually cost a fairly long time to generate large test suites for high pairwise coverage (i.e., 2-wise coverage), which would lead to ineffective and inefficient testing of highly configurable software systems. In this paper, we propose a novel local search based sampling approach dubbed LS-Sampling for achieving high t-wise coverage. Extensive experiments on a large number of public benchmarks, which are collected from real-world, highly configurable software systems, show that LS-Sampling achieves higher 2-wise and 3-wise coverage than the current state of the art. LS-Sampling is effective, since on average it achieves the 2-wise coverage of 99.64% and the 3-wise coverage of 97.87% through generating a small test suite consisting of only 100 test cases (90% smaller than the test suites generated by its state-of-the-art competitors). Furthermore, LS-Sampling is efficient, since it only requires an average execution time of less than one minute to generate a test suite with high 2-wise and 3-wise coverage.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 92bd9d1c-1cd7-4e69-8e59-461035708360Cited by top-tier papers1
Ask how each one uses itRelated papers
- Baital: an adaptive weighted sampling approach for improved t-wise coverageEduard Baranov, Axel Legay, Kuldeep S. MeelFSE 2020 · 40 citations
- Beyond Pairwise Testing: Advancing 3-wise Combinatorial Interaction Testing for Highly Configurable SystemsChuan Luo, Shuangyu Lyu, Qiyuan Zhao, Wei Wu et al.ISSTA 2024 · 6 citations
- SamplingCA: effective and efficient sampling-based pairwise testing for highly configurable software systemsChuan Luo, Qiyuan Zhao, Shaowei Cai, Hongyu Zhang et al.FSE 2022 · 14 citations
- A Tuple-Oriented Sampling Method for Generating Small Pairwise Covering Arrays in Configurable Software SystemsKaichen Chen, Yi Xiang, Haining Wang, Jiatong Ma et al.FSE 2026
- Towards High-Strength Combinatorial Interaction Testing for Highly Configurable Software SystemsChuan Luo, Shuangyu Lyu, Wei Wu, Hongyu Zhang et al.ICSE 2025
