TB2::Result - A factory to generate results.
use TB2::Result; my $result = TB2::Result->new_result(%test_data);
A factory to generate results. See TB2::Result::Base for information about the real result objects.
An object to store the result of a test. Used to keep test history, format the results of tests, and build up diagnostics about a test.
NOTE: Results are currently in a high state of flux with regard to directives, what determines if it "passed" or "failed", their internal structure and this even being a factory.
Result objects are overloaded to return true or false in boolean context to indicate if they passed or failed.
my $result = TB2::Result->new_result(%test_data);
new_result() is a method which returns a $result based on your test data.
$result will be a TB2::Result::Base object.
TB2::Result::Base for the result objects generated.