Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 483 Bytes

File metadata and controls

7 lines (4 loc) · 483 Bytes

Create Data-Driven Tests

Test Code: index.js

This example shows how to create a test that performs parameterized actions and run this test against two data objects.

The test function is wrapped in a foreach cycle that iterates through a data set. Data objects are imported from the data.json file. Test code uses data object's fields as input and expected values.