当前位置:网站首页>黑盒测试 — 测试用例 之 判定表法看这一篇就够了
黑盒测试 — 测试用例 之 判定表法看这一篇就够了
2022-06-25 23:16:00 【宝藏女孩的成长日记】
测试用例 之 判定表法
一、应用场景
在一些数据处理问题中,逻辑条件取值的组合过多时,判定表是一个不错的选择!
二、判定表法定义
判定表通常由四个部分组成,如下:
意思分别为:
条件桩 : 列出问题的所有条件
条件项: 列出左列条件桩的取值(真假值)
动作桩: 列出问题规定可能采取的操作
动作项: 列出在对应的条件项组合下应采取的动作.
https://blog.csdn.net/hanhanwanghaha宝藏女孩 欢迎您的关注!
欢迎关注微信公众号:宝藏女孩的成长日记
如有转载,请注明出处(如不注明,盗者必究)
三、步骤
列出所有条件和动作
(如何确定规则的个数?加入有n个条件,每个条件有两个取值(0,1),故有2n中规则生成判定表
简化判定表(合并相似规则,即相同动作)
得出测试用例
四、实战 — 案例分析
若要求“对功率大于50马力的机器或(维修纪录不全且已运行10年以上的机器),应给予优先维修处理”,请给出判定表。
- 列出所有条件和动作
这个在草稿上进行就可以了(可省略)
- 生成判定表

- 简化判定表(合并相似规则,即相同动作)

注意:“——”的意思是可为 真 也可以为 假。
4. 得出测试用例
判定表法的要点基本上都在这了,哈哈,主要是实战理解。
https://blog.csdn.net/hanhanwanghaha宝藏女孩 欢迎您的关注!
欢迎关注微信公众号:宝藏女孩的成长日记
如有转载,请注明出处(如不注明,盗者必究)
边栏推荐
- Endnote IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS/TIE/TPEL 参考文献格式模板
- Inheritance -- holy grail mode
- Unified gateway
- Login interceptor
- CXF
- Summary of push-pull output and open drain output of STM32 and failure of analog IIC driving mlx90615
- Web學習之TypeScript
- Mining pit record of modified field information in Dameng database
- ciscn_2019_en_2
- . Net using access 2010 database
猜你喜欢

下载安装Flume

ciscn_2019_en_2

Unified gateway

.net使用Access 2010数据库

Web学习之TypeScript

Freertos+stm32l+esp8266+mqtt protocol transmits temperature and humidity data to Tencent cloud IOT platform

Casually painted

案例:绘制Matplotlib动态图

Zhihuijia - full furniture function

Summary of push-pull output and open drain output of STM32 and failure of analog IIC driving mlx90615
随机推荐
经典面试题之老鼠试药与汉明码
Mining pit record of modified field information in Dameng database
Optimized three-dimensional space positioning method and its fast implementation in C language
vite打包构建时 @charset utf-8警告问题处理;
Preordered clue binary tree
Balanced binary tree AVL
下载安装Flume
Why is it best to use equals for integer comparisons
如何有效地推廣產品
Vscode shortcut
Penetration tool -burpsuite
基金开户安全吗?有没有什么风险?
213. house raiding II
信息收集的利器,Google骇客语法
Recognize map
Typescript for Web Learning
Cartoon shader
Chapter V exercises (124, 678, 15, 19, 22) [microcomputer principles] [exercises]
FIFO code implemented in C language
Case: drawing Matplotlib dynamic graph