TestResult
public class
unittest.TestResult
Description
TestResult groups all the TypeTests and accumulates their reports.
API overview
Constructor
TestResult
()
Attributes
Public attributes
| assertReport: StatusReport |
Contains Assert-level metrics for how many asserts passed, failed and were skipped |
| scannedTypes: Number |
The total number of scanned types in the test run |
| testReport: StatusReport |
Contains Test-level metrics for how many tests passed, failed and were skipped |
| typeReport: StatusReport |
Contains Type-level metrics for how many types passed, failed and were skipped |
| typeTests: Vector.<TypeTest> |
TypeTest instances of all the Types that contain at least one test |
Constructor
TestResult ()
Attributes
assertReport: StatusReport
Contains Assert-level metrics for how many asserts passed, failed and were skipped.
testReport: StatusReport
Contains Test-level metrics for how many tests passed, failed and were skipped.
typeReport: StatusReport
Contains Type-level metrics for how many types passed, failed and were skipped.
Functions
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |