[Paper Review] Bypassing the Combinatorial Explosion: Using Similarity to Generate and Prioritize T-wise Test Suites for Large Software Product Lines
This paper proposes a search-based, similarity-driven approach to generate and prioritize T-wise test suites for large Software Product Lines (SPLs), enabling scalable and flexible test generation independent of T. By using a fitness function based on product diversity, it achieves high T-wise coverage (up to 90.67% for T=6) even on massive FMs like the Linux kernel with only 1,000 products, bypassing the combinatorial explosion of exact T-wise testing.
Software Product Lines (SPLs) are families of products whose commonalities and variability can be captured by Feature Models (FMs). T-wise testing aims at finding errors triggered by all interactions amongst t features, thus reducing drastically the number of products to test. T-wise testing approaches for SPLs are limited to small values of t -- which miss faulty interactions -- or limited by the size of the FM. Furthermore, they neither prioritize the products to test nor provide means to finely control the generation process. This paper offers (a) a search-based approach capable of generating products for large SPLs, forming a scalable and flexible alternative to current techniques and (b) prioritization algorithms for any set of products. Experiments conducted on 124 FMs (including large FMs such as the Linux kernel) demonstrate the feasibility and the practicality of our approach.
Motivation & Objective
- To address the scalability limitations of exact T-wise testing in large SPLs, where combinatorial explosion makes full coverage infeasible.
- To enable flexible test suite generation under time and budget constraints for large feature models.
- To prioritize test products based on their potential to cover the most T-wise feature interactions.
- To develop a method independent of T-value to avoid expensive enumeration of all T-wise combinations.
Proposed method
- A similarity-based fitness function is used to guide a search-based algorithm, measuring diversity between products to maximize T-wise coverage.
- The approach generates valid SPL products by iteratively selecting and replacing entire configurations, ensuring compliance with FM constraints.
- Two prioritization algorithms—Greedy and Near Optimal—are introduced to rank products by their expected T-wise interaction coverage.
- The method avoids explicit enumeration of T-wise combinations by relying on product similarity as a proxy for coverage potential.
- The framework is implemented and evaluated on 124 FMs, including the Linux kernel with ~7,000 features and ~200,000 constraints.
Experimental results
Research questions
- RQ1Can we mimic T-wise test generation efficiently while achieving decent coverage, even for large feature models and high T values?
- RQ2What are the most relevant products for T-wise testing, and how can they be prioritized to maximize fault detection?
- RQ3Can we generate scalable and flexible test suites under time and budget constraints without enumerating all T-wise combinations?
Key findings
- The approach achieved up to 90.671% 6-wise coverage on the Linux kernel FM using only 1,000 test products.
- The method successfully scaled to the largest FM tested—Linux kernel with ~7,000 features and ~8.71×10^21 valid 6-sets—within reasonable time.
- The similarity-based fitness function enabled efficient generation without explicit computation of T-wise combinations, making the approach independent of T.
- The Greedy and Near Optimal prioritization algorithms effectively ranked products to maximize T-wise coverage, outperforming random selection.
- The framework demonstrated practical feasibility on real-world and synthetic FMs, including those previously intractable for existing tools.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.