Runner
in package
The runner runs the smoke test, he's the boss. You determine which units should be run in the command line.
Table of Contents
- $debugMode : bool
- $units : array<string|int, mixed>
- These are the individual tests, or units, that can execute.
- __construct() : mixed
- executeTemplate() : mixed
- insertSpecification() : mixed
- run() : mixed
- createClient() : mixed
- formatDuration() : mixed
- handleArguments() : mixed
- validateUnits() : mixed
Properties
$debugMode
private
bool
$debugMode
= false
If set to TRUE, all HTTP traffic over the wire will be outputted.
$units
These are the individual tests, or units, that can execute.
private
array<string|int, mixed>
$units
= array('Autoscale', 'Compute', 'CloudMonitoring', 'CDN', 'DNS', 'Database', 'Identity', 'LoadBalancer', 'Networking', 'ObjectStore', 'Orchestration', 'Queues', 'Volume')
Methods
__construct()
public
__construct() : mixed
Return values
mixed —executeTemplate()
public
executeTemplate() : mixed
Return values
mixed —insertSpecification()
public
insertSpecification(mixed $key[, mixed $exclude = true ]) : mixed
Parameters
- $key : mixed
- $exclude : mixed = true
Return values
mixed —run()
public
static run() : mixed
Return values
mixed —createClient()
private
createClient() : mixed
Return values
mixed —formatDuration()
private
formatDuration(mixed $duration) : mixed
Parameters
- $duration : mixed
Return values
mixed —handleArguments()
private
handleArguments() : mixed
Return values
mixed —validateUnits()
private
validateUnits() : mixed