-
Notifications
You must be signed in to change notification settings - Fork 28
Parameterized test case
Dave Nicolette edited this page Feb 4, 2021
·
6 revisions
Home -> User Guide -> Common Test Case Patterns ->
Planned for release 0.0.3
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}