in reply to Best Way to Make a Custom Testing Module
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
|
|---|