Skip to content
airstandley edited this page Jun 19, 2018 · 6 revisions

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;
...