- PERL VERSION SUPPORT
- COPYRIGHT AND LICENSE
Dist::Zilla::App::Command::test - test your dist
dzil test [ --release ] [ --no-author ] [ --automated ] [ --extended ] [ --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 module has the same support period as perl itself: it supports the two most recent versions of perl. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
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 with EXTENDED_TESTING=1
This will run the test suite without setting AUTHOR_TESTING
Equivalent to --release --automated --extended --author
Ricardo SIGNES 😏 <email@example.com>
This software is copyright (c) 2021 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.