-
Notifications
You must be signed in to change notification settings - Fork 28
Parameterized test case
Dave Nicolette edited this page Dec 25, 2020
·
6 revisions
Home -> User Guide -> Common Test Case Patterns ->
TESTSUITE 'Look up state names based on USPS abbreviations'
PROVIDER StateNames
HEADER 'Abbreviation', Name'
ROW 'AZ', 'Arizona'
ROW 'KY', 'Kentucky'
ROW 'XX', '*Undefined*'
TESTCASE USING StateNames "Get full name of #{Name} based on its USPS abbreviation"
MOVE #{Abbreviation} TO WS-STATE-ABBR
PERFORM 0100-GET-STATE-NAME
EXPECT WS-STATE-NAME TO BE #{Name}