++ed by:
DICHI ROMANF AWNCORP OVID OALDERS

8 PAUSE user(s)
1 non-PAUSE user(s).

Curtis "Ovid" Poe
and 15 contributors

NAME

Test::Class::Moose::Report::Method - Reporting on test methods

VERSION

version 0.58

DESCRIPTION

Should be considered experimental and read only.

IMPLEMENTS

Test::Class::Moose::Role::Reporting.

ATTRIBUTES

instance_report

The Test::Class::Moose::Report::Instance for this method.

num_tests_run

    my $tests_run = $method->num_tests_run;

The number of tests run for this test method.

tests_planned

    my $tests_planned = $method->tests_planned;

The number of tests planned for this test method. If a plan has not been explicitly set with $report-test_plan>, then this number will always be equal to the number of tests run.

has_tag

    my $method = $test->test_report->current_method;
    if ( $method->has_tag('db') ) {
        $test->load_database_fixtures;
    }

Returns true if the current test method has the tag in question.

AUTHOR

Curtis "Ovid" Poe <ovid@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Curtis "Ovid" Poe.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.