Dist::Zilla::Role::TestRunner - something used as a delegating agent to 'dzil test'
version 1.100660
Plugins implementing this role have their test method called when testing. It's passed the root directory of the build test dir.
test
->test( $build_dir )
This method should return undef on success.
undef
Any other value is interpreted as an error message, and no more tests are run.
Calling "die" inside test also will be caught.
The following 2 subs should behave(mostly) the same:
sub test { die "Failed"; } sub test { return "Failed"; }
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2010 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.
To install Dist::Zilla, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla
CPAN shell
perl -MCPAN -e shell install Dist::Zilla
For more information on module installation, please visit the detailed CPAN module installation guide.