Dist::Zilla::App::Command::test(3pm)

Dist::Zilla::App::Command::test3pm

Test your dist

Usage

  dzil test [ --release ] [ --no-author ] [ --automated ] [ --extended ] [ --all ]

Version

version 6.032

Overview

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.

Perl version

This module should work on any version of perl still receiving updates from the Perl 5 Porters. This means it should work on any version of perl released in the last two to three years. (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.

Options

--release

This will run the test suite with RELEASE_TESTING=1

--automated

This will run the test suite with AUTOMATED_TESTING=1

--extended

This will run the test suite with EXTENDED_TESTING=1

--no-author

This will run the test suite without setting AUTHOR_TESTING

--all

Equivalent to --release --automated --extended --author

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Ricardo SIGNES 😏 <[email protected]>

From libdist-zilla-perl 6.032-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.