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->private_backend_plugins()

Returns the Backend Plugins as specified by this plugin. See Test::Run::CmdLine for more information.

$self->private_non_direct_backend_env_mapping()

Returns the non-direct Backend Environment Mappings, that will specify the YAML information. See Test::Run::CmdLine for more information.

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 ( https://metacpan.org/author/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 Expat.