NAME
Test::Class::Moose::Report::Method - Reporting on test methods
VERSION
version 0.99
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 at https://github.com/houseabsolute/test-class-moose/issues.
I am also usually active on IRC as 'autarch' on irc://irc.perl.org
.
SOURCE
The source code repository for Test-Class-Moose can be found at https://github.com/houseabsolute/test-class-moose.
AUTHORS
Curtis "Ovid" Poe <ovid@cpan.org>
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 - 2021 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.
The full text of the license can be found in the LICENSE file included with this distribution.