Test
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
at line 56
string
getFile()
No description
at line 65
array
getArguments()
No description
at line 71
string
getSignature()
No description
at line 81
int
getResult()
No description
at line 87
bool
hasResult()
No description
at line 96
float|null
getDuration()
Duration in seconds.
at line 105
Test
withArguments(array $args)
No description
at line 127
Test
withResult(int $result, string|null $message, float|null $duration = null)
No description