The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::Role::TestRunner - something used as a delegating agent to 'dzil test'

VERSION

version 5.016

DESCRIPTION

Plugins implementing this role have their test method called when testing. It's passed the root directory of the build test dir and an optional hash reference of arguments. Valid arguments include:

  • jobs -- if parallel testing is supported, this indicates how many to run at once

ATTRIBUTES

default_jobs

This attribute is the default value that should be used as the jobs argument to the test method.

METHODS

test

This method should throw an exception on failure.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Ricardo SIGNES.

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