Test2::Harness::Run(3pm)

Test2::Harness::Run3pm

Representation of a set of tests to run, and their options.

Overview

Attributes

These are set at construction time and cannot be modified.

See App::Yath::Options::Run for more documentation on these.

From options

$bool = $run->author_testing
$hashref = $run->env_vars
$bool = $run->event_uuids
$arrayref = $run->fields
$string = $run->input
$path = $run->input_file
$bool = $run->io_events
$arrayref = $run->links
$arrayref = $run->load
$hashref = $run->load_import
$bool = $run->mem_usage
$int = $run->retry
$bool = $run->retry_isolated
$string = $run->run_id
$arrayref = $run->test_args
$bool = $run->unsafe_inc
$bool = $run->use_stream

Other

$hashref = $run->meta

meta-data plugins may have attached.

Methods

$path = $run->run_dir($workdir)

Returns the path "$workdir/$run_id".

$hashref = $run->queue_item(\@PLUGINS)

Gets the queue item that represents this object.

Source

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

Maintainers

Chad Granum <[email protected]>

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Authors

Chad Granum <[email protected]>

From libtest2-harness-perl 1.000158-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.