Explain Branch Coverage and Decision Coverage.
Branch Coverage is testing performed in order to ensure that every branch of the software is executed atleast. To perform the Branch coverage testing we take the help of the Control Flow Graph.
- Decision coverage testing ensures that every decision taking statement is executed atleast once.
- Both decision and branch coverage testing is done to ensure the tester that no branch and decision taking statement, will not lead to failure of the software.