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 43
__construct(string $file, string|null $title = null)
No description
at line 50
string
getFile()
No description
at line 59
array
getArguments()
No description
at line 65
string
getSignature()
No description
at line 73
int
getResult()
No description
at line 79
bool
hasResult()
No description
at line 88
float|null
getDuration()
Duration in seconds.
at line 97
string
getOutput()
Full output (stdout + stderr)
at line 103
Test
withTitle(string $title)
No description
at line 118
Test
withArguments(array $args)
No description
at line 140
Test
withResult(int $result, string|null $message, float|null $duration = null)
No description