Cisco CloudCenter: Get the Hybrid IT Advantage

Data-Driven Testing (DDT)

Definition - 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:

  • Retrieving the test data
  • Entering the data in the required area and simulating other actions
  • Verifying the results
  • Continuing the testing with the next set of input data

There are some advantages associated with data-driven testing. It helps in improving the test coverage as test scripts can be created simultaneously along with application development. Redundancy and any other duplication of automated testing scripts get largely reduced due to inputs and verification processes as well as due to the modular type of design. Considering the cost aspect, data-driven testing is cheaper for automation although it is more expensive in the case of manual testing. In data-driven testing, better error handling is possible and the test scripts are more robust.

However, there are a few drawbacks associated with data-driven testing. Greater expertise of scripting language is required, and a database is required for all the test data at all times.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.