Test Data

Purpose

  • Test data allow for external management of the data used in the tests

  • This adds flexibility as the tests are not dependent on the hard coded data

Types Of Test Data

  • Csv Test Data: Test data stored in a csv file

  • Test Object: Test data written in code. More flexible than storing data in csv file

  • Data Provider: Allows for rerunning of the same test with different data sets. eg. testing different login values