An infeasible path in software testing is a path that is impossible to achieve with any set of inputs. During software testing, each of the multiple paths of a program is executed and validated, but infeasible paths are impossible to execute.
The following lines of code present examples of feasible and infeasible paths.
However, under no circumstances can the path A, B, C, E, F, G be executed, because F cannot execute if C executes.
A: marks(input)
B: if marks < 50
C: then b = 2
D: else c = 3
E: if marks > 90
F: then d = 4
G: End
Free Resources