I got this question from a user, via Quest Support, today, and thought I would share the answer with you:
The user has some initialization code that he wants to share between a number of test cases. He expected that when they placed this code in the section called “Initialization for all unit tests” (which is reached from the Test Editor -> Properties -> tab Customizations) that this code should have been executed for all test cases. It appears, however, that the code is only executed once.
If, e.g., a DML statement is used, the change is not carried through to the second test case (since a ROLLBACK is performed by Code Tester between each test case).
You can do any DML you like to see the problem, e.g. UPDATE of a table.
You will notice that when the second test case is executed the UPDATE has not been done (the first UPDATE is rolled back after the first test case is executed).