Ovid has asked for the wisdom of the Perl Monks concerning the following question:
You know, this has been a terrible birthday so far. Bugs, bugs, bugs. The latest one has me pulling my hair out, but I don't know why. Test::Deep and Test::Class don't play well together. Here's the smallest test case I can get.
package TestIt; use Test::Deep; use base 'Test::Class'; sub startup : Tests(startup) {} 1;
Trying to compile that results in:
Invalid CODE attribute: Tests(startup => 1) at TestIt.pm line 9 BEGIN failed--compilation aborted at TestIt.pm line 9.
I've gone nuts trying to debug this. Any thoughts?
Cheers,
Ovid
New address of my CGI Course.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Why Does Test::Deep Kill Test::Class
by fergal (Chaplain) on Jun 20, 2008 at 14:24 UTC | |
by Ovid (Cardinal) on Jun 20, 2008 at 14:30 UTC | |
by fergal (Chaplain) on Jun 20, 2008 at 14:46 UTC | |
by Your Mother (Archbishop) on Jan 09, 2009 at 19:59 UTC | |
by fergal (Chaplain) on Mar 20, 2009 at 16:45 UTC | |
| |
Re: Why Does Test::Deep Kill Test::Class
by kyle (Abbot) on Jun 20, 2008 at 14:20 UTC | |
Re: Why Does Test::Deep Kill Test::Class
by Anonymous Monk on Jun 20, 2008 at 14:22 UTC |
Back to
Seekers of Perl Wisdom