Interview Questions

What is Data-Driven testing?


(Continued from previous question...)

What is Data-Driven testing?

Quite simply put, data-driven testing is when you store test data (input, expected output, etc) in some external storage (database, spreadsheet, xml-files, etc) and then use that data iteratively in your tests when running them. For example to test your phone-lookup service, you might have a list of names and expected phone-numbers in a database which you would use to "drive" your test, checking that each name gets the right phone-number back. It's really quite simple.

(Continued on next question...)

Other Interview Questions