Runner
class Runner
Discovers tests, schedules parallel jobs, and aggregates results.
Properties
| list<string> | $paths | ||
| list<string> | $ignoreDirs | ||
| $threadCount | |||
| $testHandler | |||
| OutputHandler> | $outputHandlers | ||
| $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
finishTest(Test $test)
Notifies all output handlers that a test has finished, updates the result cache, and stops on failure if configured.
getInterpreter()
No description
int
getJobCount()
No description
int
getFinishedCount()
No description
Details
at line 49
__construct(PhpInterpreter $interpreter)
No description
at line 56
void
setEnvironmentVariable(string $name, string $value)
No description
at line 63
array
getEnvironmentVariables()
No description
at line 69
void
addPhpIniOption(string $name, string|null $value = null)
No description
at line 75
void
setTempDirectory(string|null $path)
No description
at line 85
bool
run()
Runs all tests.
at line 188
void
addJob(Job $job)
Appends new job to queue.
at line 194
void
prepareTest(Test $test)
No description
at line 205
void
finishTest(Test $test)
Notifies all output handlers that a test has finished, updates the result cache, and stops on failure if configured.
at line 226
PhpInterpreter
getInterpreter()
No description
at line 232
int
getJobCount()
No description
at line 238
int
getFinishedCount()
No description