TestML::Bin - Bin Script for TestML
This document describes TestML::Bin version 0.03.
Create t/*.t files with a testml shebang line like this:
t/*.t
testml
#!/usr/bin/env testml %TestML 0.1.0 *foo == *bar === Test 1 --- foo: 123 --- bar: 123
Then run prove and it should just work.
prove
Also this should work:
testml foo.tml
This repo provides a bin script from TestML test files that can be used in a shebang line. The prove command and possibly other test harness runners will honor the shebang and run the test as TestML.
The script will determine what language and test framework that the test expects. In this early realease, only Perl5 is supported but later it will honor various ways to set the target language:
TESTML_LANG env var
TESTML_LANG
--lang=... CLI option
--lang=...
.testml config file
.testml
Repository directory heuristics
For now just use:
cpanm TestML::Bin
Ingy döt Net <ingy@cpan.org>
Copyright 2017. 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 TestML::Bin, copy and paste the appropriate command in to your terminal.
cpanm
CPAN shell
perl -MCPAN -e shell install TestML::Bin
For more information on module installation, please visit the detailed CPAN module installation guide.