当前位置:网站首页>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
边栏推荐
猜你喜欢

刚获融资的Espresso Systems,知识产权与团队道德双双陷入困境

IDC script file running

The maximum recommended number of rows for MySQL is 2000W. Is it reliable?

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

就这么一个简单的校验,80%的程序员却做不到,更不理解!
C form application uses object binding DataGridView data binding

Database core system

3 minutes to tell you how to become a hacker | zero foundation to hacker getting started guide, you only need to master these five abilities
![ASP.NET Core 6框架揭秘实例演示[29]:搭建文件服务器](/img/90/40869d7c03f09010beb989af07e2f0.png)
ASP.NET Core 6框架揭秘实例演示[29]:搭建文件服务器

OSS直连上传-Rails服务实践
随机推荐
Method parameter transfer mechanism of C #
Window source code analysis (IV): window deletion mechanism
PHP 获取接口的方式
Domain events and integration events are not so big
ArrayList内部原理解析
FixedWindowRollingPolicy简介说明
PlatoFarm进展不断,接连上线正式版以及推出超级原始人NFT
Scalable search bar, imitating Huawei application market
ConsoleAppender简介说明
Source code analysis of view event distribution mechanism
学个锤子 | .Net零基础逆向教程 第三课(壳与作业)
CTF中常见的RSA相关问题总结:基础RSA加密与解密
Time series analysis 41 - time series prediction tbats model
TimeBasedRollingPolicy简介说明
[summary of leetcode weekly competition] the 83rd fortnight competition of leetcode (7.23)
业务可视化-让你的流程图'Run'起来(4.实际业务场景测试)
Net 3 lines of code to realize the function of text to speech
Inside database system distributed system
ES6新特性
HashSet内部原理解析