The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TB2::Event::Abort - Abort testing

SYNOPSIS

    use TB2::Event::Abort;

    my $abort = TB2::Event::Abort->new(
        reason => "Warp core breech imminent"
    );

DESCRIPTION

This event indicates that something has gone so wrong that testing has been aborted.

Whomever issues it usually exits the process.

This is what TAP calls "bail out".

METHODS

This implements all the methods and attributes of TB2::Event with the following additions and modifications.

build_event_type

The event type is abort.

Attributes

reason

The reason for aborting.