Test::Async::Result - test result representation
self.proclaim: test-result(
$condition,
fail => {
comments => "a comment about the cause of flunk",
});
This class represents information about test outcomes.
Bool:D $.condTrue if test is considered success, False otherwise. Note that a skipped tests is a success.
$.fail-profile, $.success-profileProfile to be used to create a new Event::Test object depending on $.cond value either success- or fail-profile is used. The most typical use of this is to add comments explaining the test outcome.
event-profile()Returns a profile accordingly to $.cond.
test-result routine from Test::Async::Utils.
Vadim Belman <vrurg@cpan.org>