The TestError class holds the information regarding a single error or failure that has occured during the executing of the test cases. For errors, the class holds the error number, source and description as well as a reference to the test case that generated the error. For failures, the class holds a description of the failure as well as a reference to the test case which generated the failure.
Note: this class has an instancing property of PublicNotCreatable. It can only be instantiated by classes in the test framework.
Method: | Definition: |
---|---|
TestCase | Public Property Get TestCase() As ITestCase Public Property Set TestCase(oTestCase As ITestCase) |
Description | Public Property Get Description() As String Public Property Let Description(ByVal sSource As String) |
ErrNumber | Public Property Get ErrNumber() As Long Public Property Let ErrNumber(ByVal lErrNumber As Long) |
Source | Public Property Get Source() As String Public Property Let Source(ByVal sSource As String) |