[progress Communities] [progress Openedge Abl] Forum Post: Re: Abl Unit Test 11.6 -...

Status
Not open for further replies.
P

Phani Sajja

Guest
If there is an error while executing the test the test is considered as a failure case. You may not catch the error raised. But you can specify the exception by passing a expected parameter to the Test case as shown below. @Test(expected="OpenEdge.Core.AssertionFailedError"). METHOD PUBLIC VOID TestPass(): Assert:IsTrue(FALSE). END METHOD. In the above case the test is considered to be passed. Let us know if you are looking for something else. -- Regards, Phani S.

Continue reading...
 
Status
Not open for further replies.
Top