README

NAME

prove6 - Run tests through a TAP harness.

USAGE

prove6 [options] [files or directories]

NOTES

Default Test Directory

If no files or directories are supplied, prove6 looks for all files matching the pattern *.{t,t6,rakutest} under the directory t.

Colored Test Output

Colored test output is the default, but if output is not to a terminal, color is disabled.

Color support requires Terminal::ANSIColor on Unix-like platforms. If the necessary module is not installed colored output will not be available.

Exit Code

If the tests fail prove6 will exit with non-zero status.

-e

Normally you can just pass a list of Raku tests and the harness will know how to execute them. However, if your tests are not written in Raku or if you want all tests invoked exactly the same way, use the -e switch:

prove6 -e='/usr/bin/ruby -w' t/
prove6 -e='/usr/bin/perl -Tw -mstrict -Ilib' t/
prove6 -e='/path/to/my/customer/exec'

--err

  • --err=stderr

    Direct the test's *ERR.

    This is the default behavior.

  • --err=ignore

    Ignore the test script' $*ERR

--trap

The --trap option will attempt to trap SIGINT (Ctrl-C) during a test run and display the test summary even if the run is interrupted

$*REPO

prove6 introduces a separation between "options passed to the raku which runs prove6" and "options passed to the raku which runs tests"; this distinction is by design. Thus the raku which is running a test starts with the default $*REPO. Additional library directories can be added via the RAKULIB environment variable or via the -Ilib option to prove6.

App::Prove6 v0.0.18

Run tests through a TAP harness.

Authors

  • Leon Timmermans

License

Artistic-2.0

Dependencies

Getopt::Long:ver<0.3.0+>Path::Finder:ver<0.4.4+>Pod::UsageTAP:ver<0.3.4+>sigpipe

Test Dependencies

Provides

  • App::Prove6

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.