Dist::Zilla::Plugin::TestMLIncluder - Ship your TestML version
This document describes Dist::Zilla::Plugin::TestMLIncluder version 0.19.
In your dist.ini:
[TestMLIncluder]
This Dist::Zilla plugin allows you to ship your module with .t files written in the TestML language rather then in Perl. Your module does not need to add any dependencies (like TestML) to do this.
.t
TestML
This plugin does the following (when you dzil build):
dzil build
Adds the latest TestML sources into inc/lib/
inc/lib/
Adds the testml-cpan program to inc/bin/
testml-cpan
inc/bin/
Modifies your TestML .t file's shebang lines to use testml-cpan
Precompiles your TestML files into inc/t/... files
inc/t/...
Not only does this make TestML easy to use for CPAN modules, it also ensures that the exact TestML code you tested with locally is being used by people installing your module. ie It makes your CPAN distribution future-proof to any TestML language changes.
Ingy döt Net <ingy@cpan.org>
Copyright 2014-2020. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Dist::Zilla::Plugin::TestMLIncluder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::TestMLIncluder
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::TestMLIncluder
For more information on module installation, please visit the detailed CPAN module installation guide.