Branch Coverage

Back to Code Coverage

The percentage of branches (if/else, switch cases) exercised during test runs. Stronger than line coverage because it requires testing both the true and false paths of conditionals. Still does not verify correctness of outcomes.

property testing branch-coverage