NAME
Test::Run::Obj::TestObj - results of a single test script.
FIELDS
$self->bonus()
Number of TODO tests that unexpectedly passed.
$self->failed()
Returns an array reference containing list of test numbers that failed.
$self->ok()
Number of tests that passed.
$self->next()
The next expected event.
$self->max()
The number of plannedt tests.
$self->skipped()
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->add_to_failed(@failures)
Add failures to the failed() slot.
$self->get_reason()
Gets the reason or defaults to the default.
$self->all_succesful()
A predicate that calculates if all the tests in the TestObj were successful.
$self->get_dubious_summary_main_obj_method()
Returns the method name of the main object that should be propagated based on the success/failure status of this test object.
$self->get_failed_obj_params
Returns a key value array ref of params for initializing the failed-object.
$self->list_tests_as_failures($last_test_results->details())
Lists the tests as failures where appropriate.
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/.