Test::BrewBuild::Tester - Daemonized testing service for dispatched test run execution, for Windows & Unix.
Builds and puts into the background a Test::BrewBuild remote tester listening service.
Note that by default, the working directory is ~/brewbuild on all platforms.
~/brewbuild
Returns a new Test::BrewBuild::Tester object.
Test::BrewBuild::Tester
Parameters:
debug => $level
Integer, optional. Debug level from least verbose (0) to maximum verbosity (7).
stdout => $bool
Integer, optional. By default, we return the test log/debug output with the results of the test run. Set this to true (1) to disable this, and have the tester print its output directly to STDOUT instead.
logfile => $bool
Integer, optional. Set this to true (1) and we'll write all tester output to a log file. The parent tester server will create a $workdir/bbtester_parent.log file (where $workdir is ~/brewbuild by default), and the children tester runners will all log to $workdir/bbtester_child.log.
$workdir/bbtester_parent.log
$workdir
$workdir/bbtester_child.log
Starts the tester, and puts it into the background.
Stops the tester and all of its processes.
Returns 1 if there's a tester currently running, and 0 if not.
Default listening IP address is 0.0.0.0 ie. all currently bound IPs. Send in an alternate IP address to listen on a specific one.
0.0.0.0
This will override any IP information in the configuration file, if present.
Returns the currently used IP.
Default port is 7800. Send in an alternate to listen on it instead.
7800
This will override any port information in the configuration file, if present.
Returns the port currently being used.
This is the actual service that listens for and processes requests.
By default, listens on all IP addresses bound to all network interfaces, on port 7800.
Steve Bertrand, <steveb at cpan.org>
<steveb at cpan.org>
Copyright 2017 Steve Bertrand.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Test::BrewBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BrewBuild
CPAN shell
perl -MCPAN -e shell install Test::BrewBuild
For more information on module installation, please visit the detailed CPAN module installation guide.