On 3 Aug 2006, at 14:40, Michael Peters wrote:
[snip]
Actually, the way I use Test::Class is to have one script per
class. That way I
can just run one if I want to.
Yeah - but then you lose the start up time advantage when you run
multiple classes in the same process.
(not that it's a bad idea - just that it has a down side ;-)
Test::Harness doesn't need to support this. I'm pretty sure that
you can just
make your modules runnable from the command line.
http://www.perl.com/pub/a/2006/07/13/lightning-articles.html?page=4
If all your test classes inherit from a base class you could also do
something like:
package MyBaseClass;
use base qw( Test::Class );
INIT { Test::Class->runtests }
and just have them run automagically
Adrian