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

A method with the TearDown attribute is run after each test 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
  [TearDown]
  procedure TestTearDown;
  [Test]
  procedure Test_That_Something_Works;
...