Back to Browse

CPT tutorial: #4 The CPT model

7 views
May 15, 2026
7:21

Constrained Path-based Testing (CPT) tutorial – Part #4: The CPT model. The video introduces Constrained Path-based Testing as an improvement over basic path-based testing, which is often too simple for real-world testing situations. The method adds constraints to guide test paths by specifying where paths should or should not go within the system under test. Constraints are represented as pairs of actions or graph nodes, making the model both compact and easy for test engineers to understand. Positive constraints require one node to precede another in at least one test path, ensuring important workflow sections are tested. Negative constraints prevent one node from preceding another in any test path, which helps exclude unnecessary, already tested, or unavailable sections. Additionally, two more types of constraints do a similar job. The approach still uses edge coverage as the testing criterion, but achieving 100% edge coverage may become impossible when certain constraints are applied. The goal of the test-paths-computing-algorithm is therefore to maximize edge coverage while satisfying all defined constraints.

Download

0 formats

No download links available.

CPT tutorial: #4 The CPT model | NatokHD