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

A method marked with the TearDownFixture attribute will be run after all tests in the test fixture have executed.

Note: If more than one method is decorated with this attribute the first method found will be executed (not recommended!).

Examples

[TestFixture]
TTestSomething = class
  [TearDownFixture]
  procedure TearDownFixture;
  [Test]
  procedure Test_That_Something_Works;
...
Clone this wiki locally