Test::Run::Obj::TotObj - totals encountered for the entire Test::Run session
Inherits from Test::Run::Base::Struct.
For Moose.
Adds the difference $diff to the slot $field, assuming it is a counter field.
Increments the field $field by 1.
Retrieves the timestr() "nop" according to Benchmark.pm of the bench() field.
Returns a boolean value - 0 or 1 if all tests were OK.
Internal use.
Adds the sums from a results object.
Calculates the sub-skipped message ("X subtest/s")
Benchmarks the callback &callback using the Benchmark module and puts the result in the bench() slot.
&callback
bench()
Test::Run::Base::Struct, Test::Run::Obj, Test::Run::Core
This file is freely distributable under the MIT X11 license.
http://www.opensource.org/licenses/mit-license.php
Shlomi Fish, http://www.shlomifish.org/.
To install Test::Run, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Run
CPAN shell
perl -MCPAN -e shell install Test::Run
For more information on module installation, please visit the detailed CPAN module installation guide.