in reply to Re^2: starting to write automated tests
in thread starting to write automated tests
Those convenience methods will save you hassle AND problems like you had. isa_ok() specifically checks definedness for you.my $authCard = ShopDB::AuthorizeCard->new(); isa_ok( $authCard, 'ShopDB::AuthorizeCard' ); can_ok( $authCard, 'AuthorizeCard' );
xoxo,
Andy
|
|---|