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.
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.