Property | Type | Description | |
---|---|---|---|
$outputHandlers | Tester\Runner\OutputHandler[] | ||
$paths | paths to test files/directories | ||
$stopOnFail | boolean | ||
$testHandler | Tester\Runner\TestHandler | ||
$threadCount | run in parallel threads |
Method | Description | |
---|---|---|
__construct ( Tester\Runner\PhpInterpreter $interpreter ) | ||
addJob ( |
Appends new job to queue. | |
getEnvironmentVariables ( ) : array | ||
getInterpreter ( ) : Tester\Runner\PhpInterpreter | ||
getJobCount ( ) : integer | Get count of jobs. | |
getResults ( ) : array | ||
run ( ) : boolean | Runs all tests. | |
setEnvironmentVariable ( $name, $value ) : void | ||
writeResult ( $testName, $result, $message = NULL ) : void | Writes to output handlers. |
Method | Description | |
---|---|---|
findTests ( $path ) : void | ||
installInterruptHandler ( ) : void | ||
isInterrupted ( ) : boolean | ||
removeInterruptHandler ( ) : void |
public __construct ( Tester\Runner\PhpInterpreter $interpreter ) | ||
$interpreter | Tester\Runner\PhpInterpreter |
public getInterpreter ( ) : Tester\Runner\PhpInterpreter | ||
return | Tester\Runner\PhpInterpreter |
public setEnvironmentVariable ( $name, $value ) : void | ||
return | void |
public writeResult ( $testName, $result, $message = NULL ) : void | ||
return | void |
public OutputHandler[],Tester\Runner $outputHandlers | ||
return | Tester\Runner\OutputHandler[] |
public TestHandler,Tester\Runner $testHandler | ||
return | Tester\Runner\TestHandler |