Data-driven testing

上一篇 / 下一篇  2008-05-15 16:26:30

Data-driven testingis a methodology used in Test automationwhere test scrīptsare executed and verified based on the data values stored in one or more central data sources or databases. These databases can range from datapools, ODBCsources, csv files, Excelfiles, DAO objects, ADOobjects, etc. Data-driven testing is the establishment of several interacting test scrīpts together with their related data results in a framework used for the methodology. In this framework, variables are used for both input values and output verification values: navigation through the program, reading of the data sources, and logging of test status and information are all coded in the test scrīpt. Thus, the logic executed in the scrīpt is also dependant on the data values.

This is similar to Keyword-driven testingin that the test case is contained in the data values and not in the test scrīpt; the scrīpt is just a "driver" or delivery mechanism for the data. Unlike in keyword-driven testing, though, the navigation data isn't contained in the test scrīpt. In data-driven testing, only test data is contained in the data source.


TAG:

 

评分:0

我来说两句

日历

« 2024-05-11  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 14249
  • 日志数: 129
  • 建立时间: 2007-09-12
  • 更新时间: 2008-08-08

RSS订阅

Open Toolbar