SmokeRunner::Multi - Manage smoke tests across multiple branches/checkouts/projects
use SmokeRunner::Multi; my $runner = SmokeRunner::Multi->new(); $runner->run_and_report_next_set();
This distribution was created to help manage the running of automated tests across multiple branches or checkouts.
Each branch is called a "test set", and sets are ordered based on various criteria. This class provide a high-level interface for getting the next set, running its tests, and reporting on them.
Also see the smokerunner-multi script that comes with this distribution.
This class provides the following methods:
Creates a new object.
Returns the next test set to be run.
This is a convenience method that can be used to run and report on the next test set in a single step.
As a convenience (mostly for testing), it returns the reporter object it creates internally.
This is a convenience method for making a SmokeRunner::Multi::Runner object of the class specified in the config file. Any parameters passed to this method will be passed on to the Runner class's constructor.
SmokeRunner::Multi::Runner
This is a convenience method for making a SmokeReporter::Multi::Reporter object of the class specified in the config file. Any parameters passed to this method will be passed on to the Reporter class's constructor.
SmokeReporter::Multi::Reporter
See SmokeRunner::Multi::Config for details on configuring the smoke runner. You need to create a minimal config file to do much of anything.
See the other classes in this distribution for more information: SmokeRunner::Multi::TestSet, SmokeRunner::Multi::Runner, SmokeRunner::Multi::Reporter, and SmokeRunner::Multi::Config.
Dave Rolsky, <autarch@urth.org>
Please report any bugs or feature requests to bug-smokerunner-multi@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-smokerunner-multi@rt.cpan.org
Copyright 2007 LiveText, Inc., All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install SmokeRunner::Multi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SmokeRunner::Multi
CPAN shell
perl -MCPAN -e shell install SmokeRunner::Multi
For more information on module installation, please visit the detailed CPAN module installation guide.