Rand Stats

TAP::Harness

cpan:LEONT

NAME

TAP::Harness

DESCRIPTION

An asynchronous TAP framework written in Perl 6.

prove6

This module provides the prove6 command which runs a TAP based test suite and prints a report. The prove6 command is a minimal wrapper around an instance of this module.

For a detailed documentation on how to use prove6 click here or run prove6 --help

SYNOPSIS

use TAP::Harness;
my $harness = TAP::Harness.new(|%args);
$harness.run(@tests);

METHODS

Class Methods

new

my %args = jobs => 1, err  => 'ignore';
my $harness = TAP::Harness.new( |%args );

The constructor returns a new TAP::Harness object. It accepts an optional hash whose allowed keys are:

Instance Methods

run

$harness.run(@tests);

Accepts an array of @tests to be run. This should generally be the names of test files.

TODO

These features are currently not implemented but are considered desirable:

LICENSE

You can use and distribute this module under the terms of the The Artistic License 2.0. See the LICENSE file included in this distribution for complete details.