Skip to content
plathub edited this page Mar 3, 2017 · 6 revisions

The TestCase attribute allows you to pass values to a test function.

It supports a name, a values and an optional separator parameter. By default the separator is ','.

Example

[Test]  
[TestCase('Case 1','1,2')]
[TestCase('Case 2','3,4')]
[TestCase('Case 3','5;6', ';')]
procedure RunMeMoreThanOnce(param1 : integer; param2 : integer); 
Clone this wiki locally