Represents a detailed result of the execution of a particular test.
TestRunResult
Anything
Object
TestResult
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
TestResult(TestDescription description, TestState state, Boolean combined = false, Throwable? exception = null, Integer elapsedTime = 0) Parameters:
|
Attributes | |
combined | shared Boolean combined The flag if this is result of one test, or combined result from multiple tests (eg. result for test class). |
description | shared TestDescription description The test this is the result for. |
elapsedTime | shared Integer elapsedTime The total elapsed time in milliseconds. |
exception | shared Throwable? exception The exception thrown during this test, if any. |
state | shared TestState state The result state of this test. |
string | shared actual String string A developer-friendly string representing the instance.
Concatenates the name of the concrete class of the
instance with the Refines Object.string |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Inherited Methods |
Methods inherited from: Object equals |