On Aug 29, 2005, at 12:35 AM, Gary Jackson wrote:

Also, a lot of little bugs have been found and squashed, and Andy Lester has started to put some proper testing in to place.

What I'd really like is a standard typecheck.t like we have standard pod.t. It'd look something like this:

use Test::More;
eval "use Devel::TypeCheck 1.00";
plan skip_all => "Devel::TypeCheck 1.00 required for testing type safety" if $@;
all_files_typecheck_ok();

or more likely, since it'll be pretty modifiable.

use Test::More;
eval "use Devel::TypeCheck 1.00";
plan skip_all => "Devel::TypeCheck 1.00 required for testing type safety" if $@;
typecheck_ok( "WWW::Mechanize" );
typecheck_ok( "WWW::Mechanize::Image", { aggregate_hash => 'ignore' ) );
typecheck_ok( "WWW::Mechanize::Link", { multiple_whatevers => 'only' } );

xoa

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance


Reply via email to