Help language development. Donate to The Perl Foundation

TAP cpan:LEONT last updated on 2023-02-05

TAP-0.3.14/

NAME

TAP

DESCRIPTION

An asynchronous TAP framework written in Raku.

SYNOPSIS

use TAP;
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:

Language Handler
Raku TAP::Harness::SourceHandler::Raku.new
Perl 5 TAP::Harness::SourceHandler::Exec.new('perl')
Ruby TAP::Harness::SourceHandler::Exec.new('ruby')
Python TAP::Harness::SourceHandler::Exec.new('python')

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:

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.