The unitTestBefore method option indicates that the method is a unit test method that is run before each unit test method of the class is executed.
Only one method in a
Any failure associated with a method will count as a failure only in the final failure statistics, whether it is a failure resulting from any of the previous items in this list or from a failure in the unitTestBefore method.
The unitTestBefore method option in the following example identifies the method that is run before running each unit test method in a unit test class.
clearTestBefore() unitTestBefore;
begin
calculator.clear;
end;