请求翻译一段软件测试的英文论文

来源:百度知道 编辑:UC知道 时间:2024/06/24 05:13:19
The category partition approach helps when natural constraints between choices reduce the number of combinations, as in the simple catalog handler example. However, in other cases, choices are not naturally constrained, and the amount of test cases generated by considering all possible combinations of choices may exceed the budget allocated for testing.
Let us consider for example the informal specification of a discount policy. The following excerpt of a specification of a discount policy handler determines the applicable discount on the basis of the status of the customer and the amount of purchases.

Discount is applied to both individuals and educational institutions. Additional discounts are applied if the amount of orders in the considered sale period exceeds a threshold o1 or a threshold o2 > o1, respectively. Discounts are applied also if the amount of the current invoice or the total amount of invoices in the current sales period exc

在方案选择之间的自然约束条件下,畴数分割的研究,帮助减少组合的数量;正如简单的商品目录处理程序的例子那样。然而,在另外的情况下,方案选择不是自然地约束,考虑全部可能的方案选择的组合,而产生的试验方案的总数,有可能超过拨给试验的预算。
让我们来举例考虑折扣政策的非格式化的参数。下面的折扣政策处理程序的一例外的参数,根据顾客的状况和购买的总数,来确定可给的折扣。(待译)

老大,我可是好累的才翻完,绝对对 我的导师都看了 ---- 类别划分方法帮助时,自然制约因素之间的选择,减少组合的数量,如在简单的目录处理的例子。然而,在其他情况下,选择不自然的制约,以及大量的试验所产生的情况下考虑所有可能的组合的选择可能会超出预算分配进行测试。

让我们考虑,例如非正式规范的折扣政策。以下摘录了规范的折扣政策的处理决定适用的折扣的基础上地位的客户和数额的采购。

折扣适用于个人和教育机构。更多的折扣,如果适用的订单金额在审议预售期超过某一阈值01或氧阈值“ 01 ,分别。折扣也适用,如果金额目前的发票或总额发票,按目前的销售期超过特定的阈值( i1和碘“ i1为目前账单,和T1和T2 ”表# t1的总发票期) 。折扣,可以累积没有限制。客户风险的信用记录没有资格获得任何折扣。

没有选择图4 ,其中来自上述规格,自然约束,因此,我们获得一个组合的测试案例。在当前的例子,这是不言而喻多达182测试案例和生长展会, nentially时,一些类别或选择增加,因为在大多数实际情况。