Oct 14 2007 | Coverage Analysis in Testing | Back Next |
bless $self, ref($class) || $class;
Requires 3 different tests of constructor to achieve full condition coverage
But how many times does your constructor need to be callable as either a class method or an object method?
Home Last TOC | Copyright © 2007 James E Keenan | Back Next |