Disadvantages of Path Testing

  1. A tester needs to have a good understanding of programming knowledge or code knowledge to execute the tests.
  2. The test case increases when the code complexity is increased.
  3. It will be difficult to create a test path if the application has a high complexity of code.
  4. Some test paths may skip some of the conditions in the code. It may not cover some conditions or scenarios if there is an error in the specific paths.

Path Testing in Software Engineering

Path Testing is a method that is used to design the test cases. In the path testing method, the control flow graph of a program is designed to find a set of linearly independent paths of execution. In this method, Cyclomatic Complexity is used to determine the number of linearly independent paths and then test cases are generated for each path. 

It gives complete branch coverage but achieves that without covering all possible paths of the control flow graph. McCabe’s Cyclomatic Complexity is used in path testing. It is a structural testing method that uses the source code of a program to find every possible executable path. 

Similar Reads

Path Testing Process

...

Path Testing Techniques

Control Flow Graph: The program is converted into a control flow graph by representing the code into nodes and edges. Decision to Decision path: The control flow graph can be broken into various Decision to Decision paths and then collapsed into individual nodes. Independent paths: An Independent path is a path through a Decision to Decision path graph that cannot be reproduced from other paths by other methods....

Advantages of Path Testing

The path testing method reduces the redundant tests. Path testing focuses on the logic of the programs. Path testing is used in test case design....

Disadvantages of Path Testing

A tester needs to have a good understanding of programming knowledge or code knowledge to execute the tests. The test case increases when the code complexity is increased. It will be difficult to create a test path if the application has a high complexity of code. Some test paths may skip some of the conditions in the code. It may not cover some conditions or scenarios if there is an error in the specific paths....

Contact Us