离离原上草,一岁一枯荣。 野火烧不尽,春风吹又生。

老外讨论自动化测试开发(数据驱动 四)

上一篇 / 下一篇  2011-01-07 17:09:25 / 个人分类:转载

我到现在也不理解啥是数据驱动,悲剧。

Data-driven approach

数据驱动方法

 

The data-driven approach was described in the main paper. I think that its safe to say that we all like data-driven approaches, but that none of us would use a data-driven approach in every conceivable situation. Here are a few additional, specific notes from the meeting.

数据驱动方法在主体部分已经论述过了。我相信我们都喜欢数据驱动方法,但是我们中没有一个人能在每一种可能的情况下都使用数据驱动方法。下面是会议中提出的一些具体的额外事宜。

 

19. The subject matter (the data) of a data-driven automation strategy might include (for example):

数据驱动自动化策略的主旨(数据)可以包括以下几个方面:

 

parameters that you can input to the program;输入程序的参数

sequences of operations or commands that you make the program execute;程序执行的操作或命令序列

sequences of test cases that you drive the program through;驱动程序的测试用例序列

sequences of machine states that you drive the program through;驱动程序的系统状态序列

documents that you have the program read and operate on;程序读取和操作的文档

parameters or events that are specified by a model of the system (such as a state model or a cause-effect-graph based model) (Consensus).系统模型(例如状态模型或因果图模型)指定的参数或事件。(一致同意)

 

20. Data-driven approaches can be highly maintainable and can be easier for non-programmers to work with. (Consensus)

数据驱动方法具有高度可维护性,并且易于非编程人员使用。(一致同意)

 

Even though we all agreed on this in principle, we had examples of disorganized or poorly thought out test matrices, etc. If you do a poor job of design, no one will be able to understand or maintain what youve done.

虽然我们原则上都同意以上观点,但是我们还是能举出组织不好或思考不周的测试矩阵。如果你的设计工作做的不好,那么没有人会理解并维护你做的东西。

 

21. There can be multiple interfaces to enter data into a data file that drives data-driven testing. You might pick one, or you might provide different interfaces for testers with different needs and skill sets. (Consensus)

有多个接口可以把数据输入到数据文件中,以驱动数据驱动测试。你可以选择一个,或者为不同需要和技术的测试者提供不同的接口。(一致同意)


TAG:

 

评分:0

我来说两句

日历

« 2024-04-26  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 16682
  • 日志数: 32
  • 建立时间: 2010-09-08
  • 更新时间: 2011-08-11

RSS订阅

Open Toolbar