Test
class Test
Test represents one result.
Constants
Prepared |
|
Failed |
|
Passed |
|
Skipped |
|
deprecated PREPARED |
|
deprecated FAILED |
|
deprecated PASSED |
|
deprecated SKIPPED |
|
Properties
$title | |||
$message | |||
$stdout | |||
$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.
string
getOutput()
Full output (stdout + stderr)
withArguments(array $args)
No description
withResult(int $result, string|null $message, float|null $duration = null)
No description
Details
at line 45
__construct(string $file, string|null $title = null)
No description
at line 52
string
getFile()
No description
at line 61
array
getArguments()
No description
at line 67
string
getSignature()
No description
at line 75
int
getResult()
No description
at line 81
bool
hasResult()
No description
at line 90
float|null
getDuration()
Duration in seconds.
at line 99
string
getOutput()
Full output (stdout + stderr)
at line 105
Test
withTitle(string $title)
No description
at line 120
Test
withArguments(array $args)
No description
at line 142
Test
withResult(int $result, string|null $message, float|null $duration = null)
No description