Data-driven testing

When test data are used when generating a test case, there is a possibility that more than one data set is suitable in order to generate a specific test case.

ISTQB describes data-driven testing as a

script-based procedure in which test inputs and forecast results are saved in a (calculation) table so that a control script can execute all tests in the table. Data-driven testing is often used to support the use of test execution tools such as recording tools.

LF‑ET also supports this test procedure: Once the option for data-driven test cases is activated, LF‑ET attempts, in addition to recommended test cases, to create further test cases with test data not used yet until:

  • until there are no more unused data records for the recommended test case,

  • or the specified limit for the number of data-driven test cases per recommended test case is reached.

Since the use of data sets in the sense of them being "utilized" is only controlled at the test case level, it may happen that a test data set is used more than once, each time in different test cases.