What is path coverage?

Showing Answers 1 - 12 of 12 Answers

Path Coverage or Basic Paths Coverage is a white-box testing technique.

In this coverage, the programmer runs the program so as to cover every statement of the program.

Following steps are involved in this,
1.Draw a flow graph to indicate corresponding logic in the program.
2.Calculate individual paths in the flow graph.
3.Run the program in all possible ways to cover every statement.

  Was this answer useful?  Yes

Path coverage is a white-box testing concept that considers the possible paths of the software under test.  One way to better understand path coverage is to create a graphical diagram of the code flow and follow each of the possible paths through every decision point.  Understanding path coverage is a good way to better understand code coverage.

Mukta

  • Dec 25th, 2016
 

Path coverage is even more powerful than Branch Coverage.
This technique is useful for testing the complex program.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions