use Test::Class; # for the individual tests package TestSet; sub new { my $self = []; my $class = shift; bless $self; @_ and $self -> addtest( @_ ); return $self, $class; } sub addtest { my $self = shift; push @$self, @_; } etc. package main; my $test = Test::Class -> new(); my $testset = TestSet -> new( $test ); etc.
-M
Free your mind
In reply to Re: Best Way to Make a Custom Testing Module
by Moron
in thread Best Way to Make a Custom Testing Module
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |