NAME
Test::Run::Straps::StrapsTotalsObj - an object representing the totals of the straps class.
FIELDS
$self->bonus()
Number of TODO tests that unexpectedly passed.
$self->details()
An array containing the details of the individual checks in the test file.
$self->exit()
The exit code of the test script.
$self->filename()
The filename of the test script.
$self->max()
The number of planned tests.
$self-ok()
The number of tests that passed.
$self->passing()
A boolean value that indicates whether the entire test script is considered a success or not.
$self->seen()
The number of tests that were actually run.
$self->skip()
The number of skipped tests.
$self->skip_all()
This field will contain the reason for why the entire test script was skipped, in cases when it was.
$self->skip_reason()
The skip reason for the last skipped test that specified such a reason.
$self->todo()
The number of "Todo" tests that were encountered.
$self->wait()
The wait code of the test script.
METHODS
$self->_calc_passing()
Calculates whether the test file has passed.
$self->determine_passing()
Calculates whether the test file has passed and caches it in the passing() slot.
$self->update_skip_reason($detail)
Updates the skip reason according to the detail $detail.
$self->last_detail()
Returns the last detail.
$self->_handle_event({event => $event, enormous_num_cb => sub {...}});
Updates the state of the details using a new TAP::Parser event - $event . enormous_num_cb
points to a subroutine reference that is the callback for handling enormous numbers.
SEE ALSO
Test::Run::Base::Struct, Test::Run::Obj, Test::Run::Core
LICENSE
This file is freely distributable under the same terms as Perl 5 itself.
AUTHOR
Shlomi Fish, http://www.shlomifish.org/.