NAME

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

VERSION

version 6.001

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) 2016 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.