class Runner

Test runner.

Properties

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

Methods

__construct(PhpInterpreter $interpreter)

No description

void
setEnvironmentVariable($name, $value)

No description

array
getEnvironmentVariables()

No description

setTempDirectory($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 55
__construct(PhpInterpreter $interpreter)

No description

Parameters

PhpInterpreter $interpreter

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

No description

Parameters

$name
$value

Return Value

void

at line 76
array getEnvironmentVariables()

No description

Return Value

array

at line 85
setTempDirectory($path)

No description

Parameters

$path

at line 106
bool run()

Runs all tests.

Return Value

bool

at line 194
void addJob(Job $job)

Appends new job to queue.

Parameters

Job $job

Return Value

void

at line 203
void prepareTest(Test $test)

No description

Parameters

Test $test

Return Value

void

at line 215
void finishTest(Test $test)

Writes to output handlers.

Parameters

Test $test

Return Value

void

at line 239
PhpInterpreter getInterpreter()

No description

Return Value

PhpInterpreter