Rethinking Basis Path Testing: Mixed Integer Programming Approach for Test Path Set Generation
Chao Wei, Xinyi Peng, Yawen Yan, Mao Luo, Ting Cai

TL;DR
This paper introduces a novel Mixed Integer Programming framework for basis path testing, transforming the path generation process into an optimization problem to produce globally optimal, simple, and complete path sets, improving over traditional greedy algorithms.
Contribution
It presents a new MIP-based approach with holistic and incremental strategies for optimal basis path set generation, addressing limitations of existing graph-traversal methods.
Findings
Incremental MIP achieves 100% success in generating complete basis sets.
The approach is computationally efficient on large-scale graphs.
Provides a high-quality structural scaffold for testing.
Abstract
Basis path testing is a cornerstone of structural testing, yet traditional automated methods, relying on greedy graph-traversal algorithms (e.g., DFS/BFS), often generate sub-optimal paths. This structural inferiority is not a trivial issue; it directly impedes downstream testing activities by complicating automated test data generation and increasing the cognitive load for human engineers. This paper reframes basis path generation from a procedural search task into a declarative optimization problem. We introduce a Mixed Integer Programming (MIP) framework designed to produce a complete basis path set that is globally optimal in its structural simplicity. Our framework includes two complementary strategies: a Holistic MIP model that guarantees a theoretically optimal path set, and a scalable Incremental MIP strategy for large, complex topologies. The incremental approach features a…
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 Testing and Debugging Techniques · Robotic Path Planning Algorithms · VLSI and Analog Circuit Testing
