class Runner

Test runner.

Properties

string[] $paths
string[] $ignoreDirs
int $threadCount
TestHandler $testHandler
OutputHandler[] $outputHandlers
bool $stopOnFail

Methods

__construct(PhpInterpreter $interpreter)

No description

void
setEnvironmentVariable(string $name, string $value)

No description

array
getEnvironmentVariables()

No description

void
addPhpIniOption(string $name, string $value = null)

No description

void
setTempDirectory(string|null $path)

No description

bool
run()

Runs all tests.

void
addJob(Job $job)

Appends new job to queue.

void
prepareTest(Test $test)

No description

void
finishTest(Test $test)

Writes to output handlers.

getInterpreter()

No description

Details

at line 60
__construct(PhpInterpreter $interpreter)

No description

Parameters

PhpInterpreter $interpreter

at line 67
void setEnvironmentVariable(string $name, string $value)

No description

Parameters

string $name
string $value

Return Value

void

at line 73
array getEnvironmentVariables()

No description

Return Value

array

at line 79
void addPhpIniOption(string $name, string $value = null)

No description

Parameters

string $name
string $value

Return Value

void

at line 85
void setTempDirectory(string|null $path)

No description

Parameters

string|null $path

Return Value

void

at line 105
bool run()

Runs all tests.

Return Value

bool

at line 193
void addJob(Job $job)

Appends new job to queue.

Parameters

Job $job

Return Value

void

at line 199
void prepareTest(Test $test)

No description

Parameters

Test $test

Return Value

void

at line 210
void finishTest(Test $test)

Writes to output handlers.

Parameters

Test $test

Return Value

void

at line 231
PhpInterpreter getInterpreter()

No description

Return Value

PhpInterpreter