Gruntmaster::Daemon::Runner - Modules for running tests
use Gruntmaster::Daemon::Runner::Foo; Gruntmaster::Daemon::Runner::Foo::run(5, $meta);
A runner is a module that runs a program on some input data, returning a verdict. Each runner has a subroutine, run($test, $meta), which runs the program on the given test and returns a verdict.
If the test is successful, the verdict is a string, usually a message (such as "Ok") or a number of points (such as "10"). Otherwise, the verdict is an array reference with two elements: an error code (see Gruntmaster::Daemon::Constants for a list) and an error message.
"Ok"
"10"
There are three runners in this distribution:
Marius Gavrilescu <marius@ieval.ro>
Copyright (C) 2014 by Marius Gavrilescu
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
To install Gruntmaster::Daemon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gruntmaster::Daemon
CPAN shell
perl -MCPAN -e shell install Gruntmaster::Daemon
For more information on module installation, please visit the detailed CPAN module installation guide.