InterviewSolution
| 1. |
What Is Data-driven Testing? How Can You Do This Using Soap Ui? |
|
Answer» 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. 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. |
|