Re: The Test Feature I Want

2008-12-15 Thread brian d foy
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

Re: The Test Feature I Want

2008-12-14 Thread Eric Wilhelm
# 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

Re: The Test Feature I Want

2008-12-13 Thread Aristotle Pagaltzis
* 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

The Test Feature I Want

2008-12-12 Thread Ovid
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