mp has asked for the wisdom of the Perl Monks concerning the following question:
If the use Test::Deep is commented out, it works fine.
Does anyone know of a workaround for this (other than not using Test::Deep with Test::Class)?
I'm using the latest versions of both modules:
Test::Deep version = 0.093
Test::Class version = 0.11
Project/Test/TestDeep.pm
test_deep.t:package Project::Test::TestDeep; use strict; use warnings; use base qw(Test::Class); use Test::More; # If the following line is uncommented, the test fails. #use Test::Deep; sub setup : Tests(setup => 2) { ok(2); } sub test : Tests(2) { ok(1); ok(1); } 1;
use strict; use warnings; use PSC::Test::TestDeep; Test::Class->runtests(); exit;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Problem when Test::Deep and Test::Class are used together
by adrianh (Chancellor) on Apr 01, 2006 at 16:26 UTC | |
by fergal (Chaplain) on Apr 23, 2006 at 22:07 UTC | |
by adrianh (Chancellor) on Apr 24, 2006 at 13:25 UTC | |
Re: Problem when Test::Deep and Test::Class are used together
by adrianh (Chancellor) on Oct 04, 2006 at 16:18 UTC |