Data-driven testing is an automated testing method in software engineering.
In data-driven testing, we create a script that supplies data collection to the software that is to be tested and verifies the generated output to the expected output. The input data can consist of all kinds of test cases, including boundary values.
The collection of test data can be in the form of an Excel file, a CSV file, a database table, etc. It includes the input to be supplied to the software and the expected output against that input.
Data-driven testing is also called table-driven testing or parameterized testing.
The following are the primary steps that take place in data-driven testing:
Data-driven testing has a whole lot of advantages. A few of them are listed below:
Data-driven testing brings a few tiny disadvantages, along with the benefits it offers. A few of those disadvantages are: