You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
airstandley edited this page Jun 19, 2018
·
3 revisions
TestFixture (Name = '', Description = '')
A class marked with the TestFixture attribute will be tested. By default
only methods in the class decorated with the Test attribute are run as tests.
Attributes
A test fixture may be marked with the Category attribute to mark all tests in that fixture with that Category by default. Specifying a different Category attribute for a test will override the test fixture category.
A test fixture may be marked with the Ignore attribute to ignore all tests in that fixture.
(Needs Editing)
Examples
[TestFixture('ExampleFixture1','General Example Tests')]
[Category('ExampleTests')]
TMyExampleTests = class
public
[Test]
procedure ATest;
...
[TestFixture('ExampleFixture2')]
[Ignore]
TMyExample2Tests = class
public
[Test]
procedure ATest;
...
[TestFixture]
TMyExample3Tests = class
public
[Test]
procedure ATest;
...