Dist::Zilla::App::Command::xtest - run xt tests for your dist
version 0.006
Run xt tests for your distribution:
dzil xtest
This runs 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 rsync -avp My-Project-Version/ .build/ cd .build; prove -l -r xt
Except for the fact it's built directly in a subdir of .build (like .build/ASDF123).
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.
You can also use 'xt' as an alias for 'xtest':
dzil xt
If you provide one or more filenames on the command line, only those tests will be run (however deeply they are nested). Glob patterns may also work, if you protect it from your shell.
dzil xtest pod-spell.t dzil xtest 'dist*' # don't expand to dist.ini
David Golden <dagolden@cpan.org>
Jesse Luehrs <doy@cpan.org>
This software is Copyright (c) 2012 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Dist::Zilla::Plugin::CheckExtraTests, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::CheckExtraTests
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::CheckExtraTests
For more information on module installation, please visit the detailed CPAN module installation guide.