class Test

Test represents one result.

Constants

PREPARED

FAILED

PASSED

SKIPPED

Properties

string|null $title
string|null $message
string $stdout
string $stderr

Methods

__construct(string $file, string|null $title = null)

No description

string
getFile()

No description

array
getArguments()

No description

string
getSignature()

No description

int
getResult()

No description

bool
hasResult()

No description

float|null
getDuration()

Duration in seconds.

withArguments(array $args)

No description

withResult(int $result, string|null $message, float|null $duration = null)

No description

Details

at line 49
__construct(string $file, string|null $title = null)

No description

Parameters

string $file
string|null $title

at line 56
string getFile()

No description

Return Value

string

at line 65
array getArguments()

No description

Return Value

array

at line 71
string getSignature()

No description

Return Value

string

at line 81
int getResult()

No description

Return Value

int

at line 87
bool hasResult()

No description

Return Value

bool

at line 96
float|null getDuration()

Duration in seconds.

Return Value

float|null

at line 105
Test withArguments(array $args)

No description

Parameters

array $args

Return Value

Test

at line 127
Test withResult(int $result, string|null $message, float|null $duration = null)

No description

Parameters

int $result
string|null $message
float|null $duration

Return Value

Test