[Paper Review] Constrained locating arrays for combinatorial interaction testing
This paper introduces Constrained Locating Arrays (CLAs), a novel combinatorial testing model that extends locating arrays to handle real-world parameter constraints in software systems. By integrating constraint-aware distinguishability and a constructive algorithm, CLAs enable efficient fault localization in constrained systems, with experiments showing scalability to practical problem sizes.
This paper introduces the notion of Constrained Locating Arrays (CLAs), mathematical objects which can be used for fault localization in software testing. CLAs extend ordinary locating arrays to make them applicable to testing of systems that have constraints on test parameters. Such constraints are common in real-world systems; thus CLA enhances the applicability of locating arrays to practical testing problems. The paper also proposes an algorithm for constructing CLAs. Experimental results show that the proposed algorithm scales to problems of practical sizes.
Motivation & Objective
- To address the gap in existing locating array techniques that do not handle real-world parameter constraints in software testing.
- To formalize the concept of distinguishability under constraints, where some failure-triggering interactions may be inherently indistinguishable due to constraint restrictions.
- To develop a practical algorithm for generating CLAs that are both constraint-satisfying and capable of localizing failure-triggering interactions.
- To demonstrate the scalability and effectiveness of the proposed CLA construction method on real-world and synthetic test problems.
Proposed method
- Define a System Under Test (SUT) as a tuple ⟨F, S, φ⟩, where F is a set of factors, S their value domains, and φ a constraint function restricting valid test combinations.
- Introduce the notion of valid and invalid interactions: an interaction is valid if it appears in at least one valid test (satisfying φ), otherwise invalid.
- Formalize Constrained Locating Arrays (CLAs) as test suites that ensure distinguishability between any two valid interactions up to a given strength t, even under constraints.
- Propose a computational method to generate CLAs by extending covering array construction techniques with constraint-aware distinguishability checks.
- Use a recursive construction strategy that incrementally builds CLAs by ensuring that for any pair of distinguishable interactions, their coverage patterns in the array differ.
- Leverage the fact that if a t-way interaction is valid and a (t-1)-way subinteraction is valid, their distinguishability can be preserved via constraint-aware test selection.
Experimental results
Research questions
- RQ1How can locating arrays be extended to handle systems with parameter constraints that restrict valid test combinations?
- RQ2What formal conditions ensure that two failure-triggering interactions remain distinguishable in the presence of constraints?
- RQ3Can a scalable algorithm be designed to generate CLAs that maintain fault localization capability while respecting system constraints?
- RQ4To what extent does the proposed CLA construction method scale to practical-sized software systems with complex constraints?
Key findings
- The proposed CLA model successfully extends locating arrays to constrained systems by formally defining distinguishability under constraints, enabling fault localization even when some interactions are inherently indistinguishable.
- The algorithm for constructing CLAs is proven to be correct: it generates arrays that can distinguish any two valid interactions up to strength t, ensuring fault localization capability.
- The method scales effectively to practical problem sizes, as demonstrated by experiments on both synthetic and real-world test cases, including the classic cell-phone example with five factors and complex inter-factor constraints.
- The construction process ensures that all test cases in the CLA are valid (satisfy constraints), and that all valid t-way interactions are covered, maintaining the core properties of covering arrays.
- Theoretical analysis confirms that if two interactions are distinguishable, their coverage patterns in the CLA will differ, which guarantees that failure-triggering interactions can be uniquely identified.
- The approach maintains the efficiency of combinatorial testing by minimizing test set size while adding robustness to constraint handling and fault localization.
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.