Prev | Testing and Code Coverage | Next |
Can get very complicated
a if ($p && $q) || ($r && $s) || ($u && ($w || $x) && ($y || $z))
n variables => 2 ^ n combinations (ignoring shortcut operators)
Various ways of reporting coverage
Focus on important combinations
Slide 33 | YAPC::Europe::2002 | Copyright © 2002 Paul Johnson |