黑盒测试技术(Decision Tables 决策表法,又称判定表法) | 您所在的位置:网站首页 › 决策树画法有标准吗 › 黑盒测试技术(Decision Tables 决策表法,又称判定表法) |
健壮性最强,考虑情况最全面
Decision Tables 决策表法,又称判定表法
前言一、认识决策表二、例题例题一例题二例题三例题四例题五例题六
总结
前言
一、认识决策表
决策表就是判定表,决策表法也称判定表驱动法;是分析和表达多逻辑条件下执行不同操作的情况的工具。决策表能够将各种复杂情况都列举出来,不会产生遗漏,因此,使用决策表设计出的测试用例是完整的测试用例集合。在所有的功能测试方法中,基于决策表的测试方法是最严格的,因为决策表本身加强了逻辑的严密性它们非常适合描述在不同条件集下采取许多行动组合的情况。
判定表的组成:
通常由四部分组成:条件桩,动作桩,条件项,动作项![]() 决策表阅读指南:
学生一共考三门课程:语数英,如果有一门或以上课程不及格,就将这三门课程打印出来,否则输出信息W;使用决策表法设计测试用例。 答案:
答案
三角形问题: Consider a method fp, brief for findPrice, that takes two inputs code and qty. The item code is represented by the integer code and the quantity purchased by another integer variable qty. fp accesses a database to find and display the unit price, the description, and the total price of the item corresponding to code. fp is required to display an error message, and return, if either of the two inputs is incorrect. Assuming that an item code must be in the range 99…999 and quantity in the range 1…100. Please give your test cases using boundary-value analysis. 答案 Develop a decision table for the YesterDate function. 解答
下一天函数 |
CopyRight 2018-2019 实验室设备网 版权所有 |