图4:基于决策表测试库的主类。
Figure 4: the main classes of the decision-table-based testing library.
这样可以轻松的合并输入的数据和扩大测试套件的范围,并在决策表中添加新条件。
It is easy to consider new combinations of input data and to extend the test suite coverage, adding new conditions in the decision tables.
有了决策表,我们就可以根据测试策略轻松的添加和删除条件。
With a decision table, it is easy to add and remove conditions, depending on the test strategy.
如图2所示,决策表在指定,分析和测试复杂逻辑性时起到很重要的作用。
As illustrated in Figure 2, decision tables are useful when specifying, analyzing, and testing complex logic.
测试逻辑可以很容易地使用决策表进行追踪与变更,这样可以被非程序员阅读和填写。
A testing logic easy to keep track of and to change with the decision tables that can be read and filled out by non-programmers.
在软件开发过程中,决策表能够帮助测试小组在软件应用程序中管理复杂的逻辑性。
In software development, decision tables help test teams manage complex logic in software applications. 2.
首先,测试人员使用FunctionalTester数据池建立一个决策表。
First, the tester creates a decision table with a Functional tester data pool.
新的测试活动没有被列在活动图表中,但是可以在导入到FunctionalTester测试项目之前添加到决策表中。
New test actions, which are not specified in the activity diagram, can be added in the decision table before importation in the Functional Tester test project.
编程实现了对故障决策表的约简,测试结果证明了谚约简算法的有效性和可用性。
Finally, the reduction of fault diagnosis decision-table by the program is achieved and the results show the effectiveness and usefulness of the approach by testing the concrete example.
编程实现了对故障决策表的约简,测试结果证明了谚约简算法的有效性和可用性。
Finally, the reduction of fault diagnosis decision-table by the program is achieved and the results show the effectiveness and usefulness of the approach by testing the concrete example.
应用推荐