Alex Vandiver > TAP-Harness-Remote-EC2-0.01 > TAP::Harness::Remote::EC2

Download:
TAP-Harness-Remote-EC2-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source   Latest Release: TAP-Harness-Remote-EC2-1.00

NAME ^

TAP::Harness::Remote::EC2 - Run tests on EC2 servers

SYNOPSIS ^

    prove --harness TAP::Harness::Remote::EC2 t/*.t

DESCRIPTION ^

Based on TAP::Harness::Remote, this module uses your running Amazon EC2 instances (http://amazon.com/ec2) to run tests against, instead of a preconfigured list of hosts.

USAGE ^

Configuration is much the same as TAP::Harness::Remote, except the configuration file lives in /.remote_test_ec2 -- see "CONFIGURATION AND ENVIRONMENT". Note the TAP::Harness::Remote::EC2 does not, at current, start EC2 hosts itself, nor differentiate in any way between running EC2 hosts; it attempts to connect and run tests on all currently running EC2 hosts.

METHODS ^

load_remote_config

Loads and canonicalizes the configuration. Writes and uses the default configuration ("default_config") if the file does not exist.

CONFIGURATION AND ENVIRONMENT ^

The configuration is stored in ~/.remote_test_ec2, and is mostly identical to the configuration of TAP::Harness::Remote (see "CONFIGURATION AND ENVIRONMENT" in TAP::Harness::Remote), with the following differences:

DEPENDENCIES ^

Net::Amazon::EC2

BUGS AND LIMITATIONS ^

The default perl installed Amazon's provided EC2 images is extremely slow (about 4x slower than a clean, optimized build). We thus strongly suggest you compile your own.

In the future, TAP::Harness::Remote::EC2 may provide configuration options so that it can start and stop testing instances on demand.

AUTHOR ^

Alex Vandiver <alexmv@bestpractical.com>

LICENCE AND COPYRIGHT ^

Copyright (c) 2007-2008, Best Practical Solutions, LLC. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

DISCLAIMER OF WARRANTY ^

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.