t/lib trick
If you still don't want to have prerequisites on testing modules
- Copy Test/Builder.pm & Test/More.pm into t/lib/
- Slap a "use lib 't/lib'" on your tests
- distribute the whole thing
Who does this?
- CGI, CPANPLUS, ExtUtils::MakeMaker, parrot, Test::Harness
Caveats
- Adds 18K to your tarball.
- Can't use TODO or no_plan since Test::Harness won't be upgraded
Prev | toc | Next