Re: [Perlunit-devel] Can't locate object method "new" via package "Test::Unit::Assertion::Boolean"
Status: Beta
Brought to you by:
mca1001
From: Oliver F. <pl...@sn...> - 2002-03-03 21:49:04
|
Hi, I had probleme like yours some and I solved it with the classical way: --- package Me; use Test::Unit; @ISA = qw(Test::Unit::TestCase); sub new { my $self = Test::Unit::TestCase->new(@_); my $type = shift; bless $self, $type; $self->{config} = 0; $self->quell_backtrace(); return $self; } sub test_creation { my $self = shift; $self->assert( 1 == 1); } 1; ---- Another advice was to try out the newest sources via CVS. Bye Oliver -- Oliver Fischer - mailto:pl...@sn... |