April 20, 2013 | Coverage Analysis in Perl: The Basics | Back Next |
"Is a particular statement exercised at some point during the test suite? If so, how many times?"
Library consists of subroutines
Subroutines take arguments and consist of statements
Test all relevant combinations of arguments for a sub ...
... and you *should* be able to reach every statement within that sub
Home Last TOC | Copyright © 2013 James E Keenan | Back Next |