interface TestResult
Describes a test result.
class ResultType
The final status of a test. |
abstract fun getEndTime(): Long
Returns the time when this test completed execution. |
|
abstract fun getException(): Throwable
If the test failed with an exception, this will be the exception. Some test frameworks do not fail without an exception (JUnit), so in those cases this method will never return null. |
|
abstract fun getExceptions(): MutableList<Throwable>
If the test failed with any exceptions, this will contain the exceptions. Some test frameworks do not fail without an exception (JUnit), so in those cases this method will never return an empty list. |
|
abstract fun getFailedTestCount(): Long
Returns the number of failed atomic tests executed for this test. |
|
abstract fun getResultType(): ResultType
Returns the type of result. Generally one wants it to be SUCCESS! |
|
abstract fun getSkippedTestCount(): Long
Returns the number of skipped atomic tests executed for this test. |
|
abstract fun getStartTime(): Long
Returns the time when this test started execution. |
|
abstract fun getSuccessfulTestCount(): Long
Returns the number of successful atomic tests executed for this test. |
|
abstract fun getTestCount(): Long
Returns the total number of atomic tests executed for this test. This will return 1 if this test is itself an atomic test. |