Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

TAP::Harness::Env

Name TAP::Harness::Env
Version 3.42
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/TAP/Harness/Env.pm
Is Core No
Search CPAN for this module TAP::Harness::Env
Documentation TAP::Harness::Env
Module Details TAP::Harness::Env

NAME

TAP::Harness::Env - Parsing harness related environmental variables where appropriate


VERSION

Version 3.42


SYNOPSIS

 my $harness = TAP::Harness::Env->create(\%extra_args)


DESCRIPTION

This module implements the environmental variables that the Test::Harness manpage uses with TAP::Harness, and instantiates the appropriate class with the appropriate arguments.


METHODS


ENVIRONMENTAL VARIABLES

HARNESS_PERL_SWITCHES
Setting this adds perl command line switches to each test file run.

For example, HARNESS_PERL_SWITCHES=-T will turn on taint mode. HARNESS_PERL_SWITCHES=-MDevel::Cover will run Devel::Cover for each test.

HARNESS_VERBOSE
If true, TAP::Harness will output the verbose results of running its tests.

HARNESS_SUBCLASS
Specifies a TAP::Harness subclass to be used in place of TAP::Harness.

HARNESS_OPTIONS
Provide additional options to the harness. Currently supported options are:
j
Run <n> (default 9) parallel jobs.

c
Try to color output. See new in the TAP::Formatter::Base manpage.

a
Will use the TAP::Harness::Archive manpage as the harness class, and save the TAP to file.tgz

fPackage-With-Dashes
Set the formatter_class of the harness being run. Since the HARNESS_OPTIONS is seperated by :, we use - instead.

Multiple options may be separated by colons:

    HARNESS_OPTIONS=j9:c make test
HARNESS_TIMER
Setting this to true will make the harness display the number of milliseconds each test took. You can also use prove's --timer switch.

HARNESS_COLOR
Attempt to produce color output.

HARNESS_IGNORE_EXIT
If set to a true value instruct TAP::Parser to ignore exit and wait status from test scripts.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024