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