Shlomi Fish > Test-Run > Test::Run::Obj::CanonFailedObj

Download:
Test-Run-0.0302.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Test::Run::Obj::CanonFailedObj - the failed tests canon object.

METHODS ^

$self->add_result($result)

Pushes $result to the result() slot.

$self->get_ser_results()

Returns the serialized results.

$self->add_Failed($test)

Add a failed test $test to the diagnostics.

$self->add_skipped($test)

Add a skipped test.

$self->good()

Returns the number of good (non failing or skipped) tests.

$self->add_Failed_and_skipped($test)

Adds a test as both failed and skipped.

$self->canon_list()

Returns the the failed tests as a list of ranges.

my $string = $self->canon()

Returns the canon as a space-delimited string.

$self->result()

The non-serialized result of the test.

$self->failed_num()

Returns the number of failed tests.

$self->add_skipped($test)

Add a skipped test.

LICENSE ^

This file is licensed under the MIT X11 License:

http://www.opensource.org/licenses/mit-license.php

AUTHOR ^

Shlomi Fish, http://www.shlomifish.org/

SEE ALSO ^

Test::Run::Obj, Test::Run::Core.

syntax highlighting: