Data-driven testing (DDT) is a software testing methodology used in computer software testing. It describes the test performed using an array of conditions as test inputs and verifiable outputs.
To simplify the concept, the tester provides inputs to a row of the array and waits for outputs that occur on that same row.
The array groups values that correspond to the input spaces of the boundaries or partitions. In the testing methodology, the test configuration is ‘read’ from a database.
The importance of data-driven tests is that testers often have multiple data sets for a single test, and creating individual tests can be time-consuming.
Data-driven testing separates the data from the test scripts. These same test scripts can be run for different combinations of input test data, and test results can be generated efficiently.
Thread on Twitter.