Create method |
Applies to
TRepeatedTest
Declaration
Constructor Create(ATest: ITest; Iterations: integer; AName: string = '');
Description
The ITest parameter can hold a single test or a suite. The Name parameter is optional.
Parameters |
ATest | The test to repeat. |
Itrations | The number of times to repeat the test. |
AName | An optional name to give to the decorator instance |
constructor TRepeatedTest.Create(ATest: ITest; Iterations: integer; AName: string); begin inherited Create(ATest, AName); FTimesRepeat := Iterations; End; |
|