Dist::Zilla::App::Command::test.3pm

Langue: en

Autres versions - même langue

Version: 2010-08-22 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Dist::Zilla::App::Command::test - test your dist

VERSION

version 4.102340

SYNOPSIS

   dzil test
 
 

This command is a thin wrapper around the "test" method in Dist::Zilla. It builds your dist and runs the tests with AUTHOR_TESTING and RELEASE_TESTING environment variables turned on, so it's like doing this:

   export AUTHOR_TESTING=1
   export RELEASE_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.

SEE ALSO

The heavy lifting of this module is now done by Dist::Zilla::Role::TestRunner plugins.

AUTHOR

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.