Path Testing
Path Testing
What is Path Testing?
Path Testing is a structural testing method based on
the source code or algorithm and NOT based on the
specifications. It can be applied at different levels of
granularity.
Path Testing is a structural method for unit testing its
called to insure that all statements is executed
What Is Path Testing
Path Testing
Path Testing
Control Flow Graph
Control Flow Graph (CFG) : The Program is
converted into Flow graphs by representing the
code into nodes, regions and edges
Flow Graph
1- process
ProcessInput Expected Output
Flow Graph
2- Decision
Input
Yes
A = B
No
Do Function1()
Do Function2()
Flow Graph
3- Junctions
Input Output 1
1 2
Output 2
interrupt
Flow Graph
4- Case Statement
Case Value Input Case 1
Case 2
Case n
One Output
Thanks
Mohamed Ali khaskia && Mohamed Mabrouk mawd

Path testing