Stopping a test

To stop a test from inside a test, raise an exception--any exception that you do not catch yourself. The exception is caught by the Test framework and terminates the test, causing your test to fail because all tests that terminate by exceptions are defined to fail.

To stop a test from outside a test, you must terminate the task running the test.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker