Dist::Zilla::App::Command::test - test your dist
version 4.300030
dzil test [ --release ] [ --no-author ] [ --automated ] [ --all ]
This command is a thin wrapper around the test method in Dist::Zilla. It builds your dist and runs the tests with the AUTHOR_TESTING environment variable turned on, so it's like doing this:
export AUTHOR_TESTING=1 dzil build --no-tgz cd $BUILD_DIRECTORY perl Makefile.PL make make test
A build that fails tests will be left behind for analysis, and dzil will exit a non-zero value. If the tests are successful, the build directory will be removed and dzil will exit with status 0.
This will run the test suite with RELEASE_TESTING=1
This will run the test suite with AUTOMATED_TESTING=1
This will run the test suite without setting AUTHOR_TESTING
Equivalent to --release --automated --author
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2013 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.