What Is Path Testing ?
Path testing is a kind of structural testing approach. Path testing generally depend on the algorithm and the source code of the application. This testing does not depends on the requirements or clarifications. Path testing can be implemented at the distinct levels of detail in a set of data.
Few Assumptions For Path Testing:-
- The requirements or specifications are correct.
- The data is determined and retrieved appropriately.
- There are no bugs or issues presents in the application except those which are affected by control flow.
Techniques For Path Testing:- There are mainly 3 techniques which are used in path testing. These are mentioned as below--
- Control Flow Graph (CFG)
- Decision To Decision Path (D-D)
- Independent (Basis) Paths
Control Flow Graph (CFG):- In this technique, program is transformed into flow graphs by illustrating the code into branches, edges and nodes.
Decision To Decision Path (D-D):- In this technique, the control flow graph can be divided into dissimilar D to D paths and after that slumped into separate nodes.
Independent (Basis) Paths:- This is a technique in which independent path, replicated throughout by the decision to decision path graph only. We can not replicate from other paths by any other schemes.
0 Comment(s)