Runner
class Runner
Test runner.
Properties
string[] | $paths | ||
string[] | $ignoreDirs | ||
int | $threadCount | ||
TestHandler | $testHandler | ||
OutputHandler[] | $outputHandlers | ||
bool | $stopOnFail |
Methods
void
setEnvironmentVariable(string $name, string $value)
No description
array
getEnvironmentVariables()
No description
void
addPhpIniOption(string $name, string|null $value = null)
No description
void
setTempDirectory(string|null $path)
No description
bool
run()
Runs all tests.
void
void
getInterpreter()
No description
Details
at line 60
__construct(PhpInterpreter $interpreter)
No description
at line 67
void
setEnvironmentVariable(string $name, string $value)
No description
at line 73
array
getEnvironmentVariables()
No description
at line 79
void
addPhpIniOption(string $name, string|null $value = null)
No description
at line 85
void
setTempDirectory(string|null $path)
No description
at line 106
bool
run()
Runs all tests.
at line 195
void
addJob(Job $job)
Appends new job to queue.
at line 201
void
prepareTest(Test $test)
No description
at line 212
void
finishTest(Test $test)
Writes to output handlers.
at line 233
PhpInterpreter
getInterpreter()
No description