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

TestFixture (Name = '', Description = '')

A class decorated with this attribute will be tested. By default only methods decorated with the Test attribute are run as tests.

Examples

[TestFixture('ExampleFixture1','General Example Tests')]
TMyExampleTests = class
public
  [Test]
  procedure ATest;
...
[TestFixture('ExampleFixture2')]
TMyExample2Tests = class
public
  [Test]
  procedure ATest;
...
[TestFixture]
TMyExample3Tests = class
public
  [Test]
  procedure ATest;
...

Clone this wiki locally