NAME

Test::Run::CmdLine::Plugin::AlternateInterpreters - Use configurable alternate interpreters to run the tests.

DESCRIPTION

This is a Test::Run::CmdLine plugin that allows enabling alternate interpreters. One can specify them by setting the 'HARNESS_ALT_INTRP_FILE' environment variable to the path to a YAML configuration file which lists the interpreters and their regular expressions. A sample one is:

---
- cmd: '/usr/bin/ruby'
  pattern: \.rb\z
  type: regex
- cmd: '/usr/bin/python'
  pattern: \.py\z
  type: regex

METHODS

$self->get_backend_env_args()

Overrides the appropriate method of Test::Run::CmdLine to handle the 'HARNESS_ALT_INTRP_FILE' environment variable.

AUTHOR

Shlomi Fish, <shlomif at cpan.org>

BUGS

Please report any bugs or feature requests to bug-test-run-plugin-alternateinterpreters at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test::Run::Plugin::AlternateInterpreters. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Test::Run::CmdLine::Plugin::AlternateInterpreters

You can also look for information at:

ACKNOWLEDGEMENTS

Curtis "Ovid" Poe ( http://search.cpan.org/~ovid/ ) who gave the idea of testing several tests from several interpreters in one go here:

http://use.perl.org/~Ovid/journal/32092

SEE ALSO

Test::Run::Plugin::AlternateInterpreters, Test::Run, Test::Run::CmdLine, TAP::Parser

COPYRIGHT & LICENSE

Copyright 2007 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.