Michael G Schwern > Test-Simple-1.005000_005 > TB2::Event::Abort

Download:
Test-Simple-1.005000_005.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.005000_005   Source   Latest Release: Test-Simple-1.005000_006

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.

syntax highlighting: