The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.