perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject making Test::More to optionally skip $Test->_ending
Date Tue, 19 Apr 2005 23:57:21 GMT
Hi Michael,

We're trying to switch mod_perl2 test suite to use Test::More (since 
Test.pm can't deal with sub-test counting under ithreads), but I have a 
problem with not being able to shut off the END block running, which is 
not run at run-time under mod_perl, but only at shutdown, which generates:

END in modperl_extra.pl, pid=17600
WHOA!  Somehow your tests ran without a plan!
This should never happen!  Please contact the author immediately!
END failed--call queue aborted.

Is it possible for Test::More to provide some method to run 
$Test->no_ending or is sub-classing it is the only way?

Thanks.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message