In article <200812121032.00515.enoba...@gmail.com>, Eric Wilhelm
wrote:
> # from Ovid
> # on Friday 12 December 2008 04:37:
>
> >Running a single test means that I ... want to run that test.
> >... Here are conditions I see crop up in tests:
> > POD_COVERAGE ... FAST_TESTS ... PROFILE_TESTS
# from Ovid
# on Friday 12 December 2008 04:37:
>Running a single test means that I ... want to run that test.
>... Here are conditions I see crop up in tests:
> POD_COVERAGE ... FAST_TESTS ... PROFILE_TESTS
> ...
>doesn't (and usually shouldn't) know if other tests are being run ...
>
>... "prov
* Ovid [2008-12-12 13:40]:
> However, "prove" shouldn't have special-case knowledge of, say,
> setting environment variables or anything like that.
Agreed.
> We could potentially have Test::Harness set an environment
> variable specifying how many tests are run and do this:
>
> use Test::Skipal
This is a bit of a strange request and while I can add this to Test::Harness,
I'm not sure that it's wise.
Here's the scenario:
use Test::Most;
if ( !$ENV{PROFILE_TESTS}) {
plan skip_all => 'PROFILE_TESTS environment variable set';
}
else {
plan tests => 3_000_000;
run