SetupFixture - VSoftTechnologies/DUnitX GitHub Wiki
A method marked with the SetupFixture attribute will be run once before any tests in the test fixture are run.
Note: If more than one method is decorated with this attribute the first method found will be executed (not recommended!).
Examples
[TestFixture]
TMyTestFixture = class
[SetupFixture]
procedure SetupFixture;
[Test]
procedure Test_That_Something_Works;
...