TAP::Formatter::Console - Harness output delegate for default console output
This provides console orientated output formatting for TAP::Harness.
The constructor returns a new
a TAP::Harness is created with no
is automatically created. If any of the
following options were given to TAP::Harness->new they well be passed to
this constructor which accepts an optional hashref whose allowed keys are:
Set the verbosity level.
Printing individual test results to STDOUT.
Append run time for each test to output. Uses Time::HiRes if available.
Show test failures (this is a no-op if
Show test comments (this is a no-op if
Suppressing some test output (mostly failures while tests are running).
Suppressing everything but the tests summary.
Suppressing all output.
If parse errors are found in the TAP output, a note of this will be made in the summary report. To see all of the parse errors, set this argument to true:
- errors => 1
If set to a true value, only test results with directives will be displayed.
This overrides other settings such as
A filehandle for catching standard output.
If defined specifies whether color output is desired. If
defined it will default to color output if color support is available on
the current platform and output is not being redirected.
The number of concurrent jobs this formatter will handle.
Boolean value. If false, disables the
test count which shows up while
tests are running.
Any keys for which the value is
undef will be ignored.
Called by Test::Harness before any test output is generated.
This is an advisory and may not be called in the case where tests are being supplied to Test::Harness by an iterator.
Called to create a new test session. A test session looks like this:
- $harness->summary( $aggregate );
prints the summary report after all tests are run. The argument is