NAME
Dist::Zilla::Role::TestRunner - something used as a delegating agent to 'dzil test'
VERSION
version 1.093370
DESCRIPTION
Plugins implementing this role have their test
method called when testing. It's passed the root directory of the build test dir.
REQUIRED METHODS
test
->test( $build_dir )
This method should return undef
on success.
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";
}
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 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.