Represents a detailed result of the execution of a particular test.
TestRunResult
no subtypes hierarchy
Initializer |
TestResult(TestDescription description, TestState state, Boolean combined = false, Throwable? exception = null, Integer elapsedTime = 0) Parameters:
|
Attributes | |
combined | Source Codeshared Boolean combined The flag if this is result of one test, or combined result from multiple tests (eg. result for test class). |
description | Source Codeshared TestDescription description The test this is the result for. |
elapsedTime | Source Codeshared Integer elapsedTime The total elapsed time in milliseconds. |
exception | Source Codeshared Throwable? exception The exception thrown during this test, if any. |
state | Source Codeshared TestState state The result state of this test. |
string | Source Codeshared 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 |