class Runner

Test runner.

Constants

PASSED

SKIPPED

FAILED

TEST_FILE_EXTENSION

Properties

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

Methods

__construct(PhpInterpreter $interpreter)

No description

bool
run()

Runs all tests.

void
addJob(Job $job)

Appends new job to queue.

int
getJobCount()

Get count of jobs.

void
writeResult($testName, $result, $message = NULL)

Writes to output handlers.

getInterpreter()

No description

array
getResults()

No description

Details

at line 56
__construct(PhpInterpreter $interpreter)

No description

Parameters

PhpInterpreter $interpreter

at line 67
bool run()

Runs all tests.

Return Value

bool

at line 140
void addJob(Job $job)

Appends new job to queue.

Parameters

Job $job

Return Value

void

at line 150
int getJobCount()

Get count of jobs.

Return Value

int

at line 160
void writeResult($testName, $result, $message = NULL)

Writes to output handlers.

Parameters

$testName
$result
$message

Return Value

void

at line 176
PhpInterpreter getInterpreter()

No description

Return Value

PhpInterpreter

at line 185
array getResults()

No description

Return Value

array