On Tue, Sep 03, 2002 at 07:08:25PM -0700, David Wheeler wrote:
> In fact, other than the Test::Class method names, TEST_VERBOSE adds 
> nothing to the output -- not even diag messages. So I've added this to 
> the script that runs my test scripts through Test::Harness:
> 
>   use Test::Harness qw(runtests $verbose);
>   $verbose = $ENV{TEST_VERBOSE} ? 1 : 0;
> 
> But what am I missing? I know that a lot of people on the cpan-testers 
> list ask for tests to be re-run with TEST_VERBOSE=1, but I can't see 
> that it actually makes much difference. Should it?

TEST_VERBOSE, to Test::Harness, is not an environment variable.  It's a make
attribute used by MakeMaker to set $Test::Harness::verbose like you have
above.  

        make test TEST_VERBOSE=1

That's what the folks on cpan-testers are asking for.

HARNESS_VERBOSE is the environment variable Test::Harness responds
to.

Test::Class uses the TEST_VERBOSE environment variable to print out the name
of each test before it's run.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
It's Tobacco time!

Reply via email to