NAME
Test::Run::Obj::TotObj - totals encountered for the entire Test::Run session
DESCRIPTION
Inherits from Test::Run::Base::Struct.
METHODS
BUILD
For Moose.
$self->add($field, $diff)
Adds the difference $diff to the slot $field, assuming it is a counter field.
$self->inc($field)
Increments the field $field by 1.
$self->bench_timestr()
Retrieves the timestr() "nop" according to Benchmark.pm of the bench() field.
$self->all_ok()
Returns a boolean value - 0 or 1 if all tests were OK.
$self->fail_test_scripts_string()
Internal use.
$self->add_results($results)
Adds the sums from a results object.
$self->get_sub_skipped_msg()
Calculates the sub-skipped message ("X subtest/s")
$self->get_bonusmsg()
Internal use.
$self->get_sub_percent_msg()
Internal use.
$self->good_percent_msg()
Internal use.
$self->fail_tests_good_percent_string()
Internal use.
$self->benchmark_callback(\&callback)
Benchmarks the callback &callback
using the Benchmark module and puts the result in the bench()
slot.
SEE ALSO
Test::Run::Base::Struct, Test::Run::Obj, Test::Run::Core
LICENSE
This file is freely distributable under the MIT X11 license.
http://www.opensource.org/licenses/mit-license.php
AUTHOR
Shlomi Fish, http://www.shlomifish.org/.