Test::Class::Moose::Report::Method(3)

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

VERSION
version 0.69

DESCRIPTION
Should be considered experimental and read only.

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

ATTRIBUTES
See Test::Class::Moose::Role::Reporting for additional attributes.

  "instance"
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.

SUPPORT
bugs may be submitted through <https://github.com/test-class-moose/test-class-moose/issues>.

I am also usually active on IRC as 'drolsky' on "irc://irc.perl.org".

AUTHORS

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

•   Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENCE
This software is copyright (c) 2012 - 2016 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.