Path Coverage Testing ensures every possible execution path through a program is tested at least once. It examines control flow from entry to exit points.
Key Features:
- Structural or white-box testing.
- Utilises Control Flow Graph (CFG) to map paths.
- Employs cyclomatic complexity to determine the number of independent paths.
Benefits:
- Uncovers hidden defects
- Ensures code robustness
Challenges:
- Resource-intensive, especially for complex systems.
