当前位置:网站首页>Software testing and quality learning notes 2 - black box testing
Software testing and quality learning notes 2 - black box testing
2022-07-28 09:51:00 【Pingguo stuffed with rice cakes】
1. Black box testing - Cause and effect diagram
We know , When the input conditions of the tested object are interdependent 、 When they restrict each other , fit Decision table method .
When Too many input conditions when , Using the decision table will produce a large number of test cases , And it cannot cover the conditions
The sequential relationship between ----- Cause and effect diagram
2. What is a cause and effect diagram
It's a kind of Using graphic method Analyze various combinations of inputs , So the way to design test cases .
The final result of causality diagram is the judgment table
3. Cause and effect diagram composition
Simple relationship symbols are used in the cause and effect diagram , Connect the left and right nodes in a straight line .
Left node Express Input status ( reason ), Right node Express Output status ( result ).
0 Indicates that a state does not appear ,1 Indicates that a state appears .
4. Relationship symbols of cause and effect diagram
Identity
Indicates the one-to-one correspondence between cause and result . If the cause appears , The result appears ; If the cause does not appear , Then the result does not appear
Not
Indicates a negative relationship between cause and result . If the cause appears , Then the result does not appear ; If the cause does not appear , Instead, the result appears .
or
It means if one of several reasons appears , The result appears ; Only when ‘ When these reasons do not appear , The result doesn't appear .
And
If several reasons occur , The result is ; If one of several reasons doesn't appear , The result doesn't appear .


5. Constraint symbol of cause and effect diagram
In practical problems , There may also be some dependencies between input states , It's called constraint . for example , Some input conditions cannot appear at the same time .
E constraint ( different / Mutually exclusive )exclusive
It means that several reasons will not be established at the same time ;
Maybe they are not established , But at most one is true .
I constraint ( or / contain )in
At least one of the several reasons must be true , Of course, it may all be true .
O constraint ( only )only
It means that only one of several reasons must be true .
R constraint ( requirement )requst
Said when a When it appears ,b Must also appear .
M constraint ( shielding )mandate
Said when a yes 1 when ,b Must be 0; And when a by 0 when ,b The value of is not necessarily .




6. Cause and effect diagram design use case steps
Find out the input and output and identify -> Analyze the relationship between input and output -> Draw a cause and effect diagram -> The causality diagram is transformed into a decision table -> Generate test cases
边栏推荐
- TimeBasedRollingPolicy简介说明
- 就这么一个简单的校验,80%的程序员却做不到,更不理解!
- SQL Server、MySQL主从搭建,EF Core读写分离代码实现
- 【日志】日志干什么的?日志工厂是什么?log4j 的配置和使用? log4j.properties 文件配置、log4j jar包坐标
- C# 窗体应用使用对象绑定 DataGridView 数据绑定
- Time series analysis 41 - time series prediction tbats model
- ThresholdFilter简介说明
- Opencv installation configuration test
- MATLAB的数列与极限运算
- HashSet内部原理解析
猜你喜欢

The secret behind three salary increases a year

软件测试与质量学习笔记2----黑盒测试

力扣376-摆动序列——贪心

MySQL master-slave architecture. After the master database is suspended and restarted, how can the slave database automatically connect to the master database

Create SSL certificate using OpenSSL

路由器固件解密思路

C# 之 方法参数传递机制

MQ learning

JS提升:实现flat平铺的底层原理

刚获融资的Espresso Systems,知识产权与团队道德双双陷入困境
随机推荐
IDC script file running
这款微信插件太好用了
Buckle 376 swing sequence greedy
CTF中常见的RSA相关问题总结:基础RSA加密与解密
OSS直连上传-Rails服务实践
Window源码解析(三):Window的更新机制
数据库高级学习笔记--系统包
Time series analysis 41 - time series prediction tbats model
PlatoFarm几大创新经济模型,给予当下元宇宙市场的启发
手机号,固话正则表达式
Edge团队详解如何通过磁盘缓存压缩技术提升综合性能体验
How view works
Branches and loops (1)
关于CLR GC调优的一些问题
MySQL中各类型文件详解
Pulse style | exclusive interview with Committee -- Tencent engineer Zhang Dawei calls you to eat "crab"
EvaluatorFilter简介说明
如何使用JWT进行身份验证与授权
Opencv installation configuration test
Scalable search bar, imitating Huawei application market