What Does Data-Driven Testing (DDT) Mean?

Data-driven testing (DDT) is a methodology in which iterative repetition of the same sequence of test steps are performed with the help of a data source in order to drive the input values of those steps and/or the expected values while verification steps are performed. The environment settings and control in the case of data-driven testing are not hard-coded. In other words, data-driven testing is the building of a test script to execute together with all their related data sets in a framework, which makes use of reusable test logic. Data-driven testing provides advantages like reusability, repeatability, separation of test logic from test data and reduction of the number of test cases.

Techopedia Explains Data-Driven Testing (DDT)

The data sources used in data-driven testing can be Excel files, CSV files, datapools, ADO objects or ODBC sources. In data-driven testing, the following operations are performed in iteration: