public interface PerTestRecording extends CoverageRecording
| Modifier and Type | Field and Description |
|---|---|
static int |
FORMAT |
| Modifier and Type | Method and Description |
|---|---|
double |
getDuration()
Return how long test was executing (in seconds, possibly with a nanosecond precision)
Note: this method may return more accurate value than "getEnd()-getStart()" as, for instance,
the System.nanoTime() can be used for measuring it.
|
long |
getEnd()
Return time when test has ended (in miliseconds, since epoch)
|
String |
getExitMessage() |
int |
getExitStatus() |
String |
getRuntimeTestName()
Return name of the test which it had during execution.
|
String |
getStackTrace() |
long |
getStart()
Return time when test has started (in miliseconds, since epoch)
|
String |
getTestMethodName()
Return name of the test method.
|
String |
getTestTypeName()
Return name of the class related with the executed test.
|
boolean |
hasResult() |
boolean |
isResultPassed() |
getDbVersion, getFormatstatic final int FORMAT
String getTestTypeName()
String getTestMethodName()
String getRuntimeTestName()
null if runtime name is unknown; in such case usually fallback to getTestMethodName()null if unknownint getExitStatus()
long getStart()
long getEnd()
double getDuration()
boolean hasResult()
boolean isResultPassed()
String getStackTrace()
String getExitMessage()
Copyright © 2023 OpenClover.org. All rights reserved.