test coverage techniques code example
Example: test coverage techniques
1-Statement Coverage:
It verifies that each line of source
code has been executed and tested
2-Decision Coverage: It ensures that
every decision in the source code is executed and tested
3-Path Coverage: It ensures that every possible
route through a given part of the
code is executed and tested