unitTestAfterClass Option

The unitTestAfterClass method option indicates that the method is a unit test method that is run once after the class is tested.

Only one method in the class can have the unitTestAfterClass method option.

If a unitTestAfterClass method fails, the last class method executed will be counted as failed.

The unitTestAfterClass method option in the following example identifies the method that is run before running a group of unit test methods for a unit test class.

finalize() unitTestAfterClass, updating;
begin
   app.finalize;
   // ... any other finalization
end;