|
From Test::Simple to Test::Extreme - Bonus Material
|
47
|
|
|
Including Test::More and Test::Simple in your CPAN distribution
You can't guarantee that your users will have Test::Simple and Test::More (or that they will have the lateset version)
Put the files in your distribution:
t/lib/Test/More.pm
t/lib/Test/Simple.pm
t/lib/Test/Builder.pm
In your test script:
use lib 't/lib';
use Test::Simple;
use Test::More;
The version of Test::Simple and Test::More that you supply will not get installed on the users computer, but will be used by your test suite.
|
|