Test
Overview
Test is a base class for all EUnit tests.
All tests must descend from the Test class in order to be detectable by the Discovery class.
This class provides set of virtual methods that can be used to perfom test initialization/finalization steps.
Use case
You will use this class as a base class for your own tests.
type
MyTestClass = public class (Test)
public
method Setup; override;
method Teardown; override;
method SetupTest; override;
method TeardownTest; override;
public
method MyTestMethod;
end;
Location
-
Reference:
- RemObjects.Elements.EUnit.dll .NET, .NET Standard 2.0
- remobjects.elements.eunit.jar Cooper
- EUnit.fx Island, macOS-x86_64
- libEUnit.fx Toffee
- Namespace: RemObjects.Elements.EUnit
Instance Methods
Setup virtual
When overriden in a child this method is called before each test method.
SetupTest virtual
When overriden in a child this method is called before first test method.
Teardown virtual
When overriden in a child this method is called after each test method.
TeardownTest virtual
When overriden in a child this method is called after last test method.