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 you’ve 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)
有多个接口可以把数据输入到数据文件中,以驱动数据驱动测试。你可以选择一个,或者为不同需要和技术的测试者提供不同的接口。(一致同意)
Framework-driven approach
框架驱动方法
For a while, the framework discussion turned into an extended discussion of the design of a procedural language, and of good implementation practices when using a procedural language. We grew tired of this, felt that other people had tackled this class of problem before, and we edited out most of this discussion from our agreements list. I’ve skipped most of the remaining points along these lines. Here are a few framework-specific suggestionss:
在一段时间里,对框架的讨论变成了讨论设计过程语言以及良好实现过程语言的延伸。我们对此变得厌倦了,觉得已经有人在以前解决了这类问题,并且我们已经从我们的协议列表中删去了这个议题。我省略了沿着这条思路下去的多数要点。以下是一些针对框架的建议:
22. The degree to which you can develop a framework depends on the size / sophistication of your staff. (Consensus).
是否开发框架取决于你的员工的数量和熟练程度。(一致同意)
23. When you are creating a framework, be conscious of what level you are creating functions at. For example, you could think in terms of operating at one of three levels:
当创建一个框架时,要注意你在哪个级别上创建函数。例如,你可以考虑下面三种级别之一:
menu/command level, executing simple commands; 菜单/命令级,执行简单命令
object level, performing actions on specific things; 对象级,对具体事物实行操作
task level, taking care of specific, commonly-repeated tasks. 任务级,负责具体的经常反复执行的任务
文章来源于领测软件测试网 https://www.ltesting.net/