What do you mean by coverage and what are the different types of coverage techniques?

Coverage is a measure used in software testing to describe to the degree to which the source code is tested. There are three basic types of the coverage techniques as shown in the below figure:-

  • Statement coverage: – This coverage ensures that each line of source code has been executed and tested.
  • Decision coverage: – This coverage ensures that every decision (true/ false) in the source code has been executed and tested.
  • Path coverage: – In this coverage we ensure that every possible route through a given part of code is executed and tested.

Coverage techniques

Tagged . Bookmark the permalink.

Leave a Reply