TTestSetup Object
Methods
A Decorator to set up and tear down additional fixture state.

Unit
TestExtensions

Declaration
TTestSetup = class(TTestDecorator)

Description
Subclass TestSetup and insert it into your tests when you want to set up additional state once before the tests are run.

Introduced Methods
Create
RunBare
Setup  Sets up the fixture.
TearDown  Tears down the fixture.


TTestSetup Example

    function UnitTests: ITest;
    begin
      Result := TSetubDBDecorator.Create(TDatabaseTests.Suite, 10);
    end; 


HTML generated by Time2HELP
http://www.time2help.com