当前位置:网站首页>What are the test case design methods?
What are the test case design methods?
2022-06-26 22:04:00 【Software testing old Joe】
In fact, the design method of test cases is mainly 7 The big way :
Equivalence class division , The boundary value , Scene method , Decision table , Cause and effect diagram , Wrong inference , Orthogonal test method .
Many people just know these methods , Each method combined immediately confused .
Before trying to connect these methods , Let's first look at the problems to be solved by each method .
The emergence of equivalence class partition , Is to make testing possible .
for instance , For example, let's test the mobile phone number input box , If there is no equivalence class partition , So is it necessary to enumerate all the situations once .
At that time, if there was equivalence class division , We can at least classify them .
For example, mobile phone numbers can be divided into valid and invalid , And invalid length can be divided into invalid length , Invalid rule , The input information is not standardized and so on .
After that, after the classification of equivalence classes is completed , The next step is to select the boundary points of the classification boundary , Each boundary value is the boundary point generated after the equivalence class division is completed .
So the boundary value is actually looking for errors at the edge of the equivalence class .
Let's talk about the end scene , A lot of times , We're testing all the software , So when combing the business process , Will use the scene method , Sort out the normal flow with the scene method , Alternative streams , After that, the equivalence class division and boundary value of each flow are refined .
The decision table is used when there is a correlation between input and output , Will sort out the related parts of the business using the judgment table .
, Combined with each item of the decision table, do the test of refining the boundary value of the equivalent class .
Cause and effect diagrams are less commonly used , The cause and effect diagram itself is actually to get the judgment table
As for error inference , In the process of testing, we often , Combined with the actual situation of the software , Make targeted guesses about where there will be problems , Targeted design use cases .
Last , Orthogonal test , Mainly in the face of multiple factors , When it comes to horizontal relationships , Will use a small amount of instead of comprehensive .
summary :
Test methods mainly include equivalence classes 、 The boundary value 、 Scene method 、 Decision table 、 Cause and effect diagram 、 Wrong inference 、 Orthogonal test method , First, when you get the requirements document , I will first use the scenario method to sort out the basic flow and alternative flow of the software , Then combine the equivalence class 、 Boundary value analysis test case ; When there is a corresponding relationship between input and output, I will draw the decision table first , Then combine the equivalence class 、 Boundary value analysis ; Of course, there are those very complex , Examples of vending machines mentioned online , I'll sort out the judgment table with the cause and effect diagram first . There is also the ability to accumulate knowledge about software errors based on your own knowledge , Use error inference to test , Finally, there is a less commonly used orthogonal test method , It is mainly used for horizontal relationship , When the project is urgent , A test conducted by sampling

边栏推荐
- Godson China Science and technology innovation board is listed: the market value is 35.7 billion yuan, becoming the first share of domestic CPU
- Unity3D插件 AnyPortrait 2D骨骼动画制作
- Application and Optimization Practice of 100 million level monthly live national karaoke feed service in Tencent cloud mongodb
- Leetcode (122) - the best time to buy and sell stocks II
- SAP commerce cloud project Spartacus getting started
- Is there any risk in opening a securities registration account? Is it safe?
- Is it safe for CICC fortune to open an account? I want to open an account to speculate in stocks.
- 【混合编程jni 】第十二篇 jnaerator
- Which securities company is the most convenient, safe and reliable for opening an account
- Is it safe to open a stock account with the QR code given by the CICC securities manager? I want to open an account
猜你喜欢

Yolov6: the fast and accurate target detection framework is open source

YuMinHong: New Oriental does not have a reversal of falling and turning over, destroying and rising again
![leetcode:6103. Delete the minimum score of the edge from the tree [DFS + connected component + value record of the subgraph]](/img/16/8dc63e6494b3f23e2685e287abc94c.png)
leetcode:6103. Delete the minimum score of the edge from the tree [DFS + connected component + value record of the subgraph]

VB. Net class library (advanced version - 1)

AI intelligent matting tool - hair can be seen

In 2022, where will the medium and light-weight games go?

Unity: the referenced script (unknown) on this behavior is missing“

矩阵求导及其链式法则

Matrix derivation and its chain rule
![[fundamentals of image processing] GUI image histogram equalization system based on MATLAB [including Matlab source code 1924]](/img/8a/f5847eef7318f3db54aa2d4405b06a.jpg)
[fundamentals of image processing] GUI image histogram equalization system based on MATLAB [including Matlab source code 1924]
随机推荐
Parsing complex JSON in fluent
在线协作文档综合评测 :Notion、FlowUs、Wolai、飞书、语雀、微软 Office、谷歌文档、金山文档、腾讯文档、石墨文档、Dropbox Paper、坚果云文档、百度网盘在线文档
leetcode:710. Random numbers in the blacklist [mapping thinking]
亿级月活全民K歌Feed业务在腾讯云MongoDB中的应用及优化实践
Different subsequence problems I
About appium trample pit: encountered internal error running command: error: cannot verify the signature of (solved)
打新债注册开户有没有什么风险?安全吗?
Which securities company is the most convenient, safe and reliable for opening an account
数据治理啥都干
Is there any risk in opening a new bond registration account? Is it safe?
Unity: 脚本缺失 “The referenced script (Unknown) on this Behaviour is missing!“
MacOS环境下使用HomeBrew安装[email protected]
[bug feedback] the problem of message sending time of webim online chat system
在哪家券商公司开户最方便最安全可靠
What is the “ How to remove a custom form list?
360手机助手首家接入APP签名服务系统 助力隐私安全分发
How to create an OData service with the graphical modeler on the sap BTP platform
Matrix derivation and its chain rule
Web crawler 2: crawl the user ID and home page address of Netease cloud music reviews
SAP commerce cloud project Spartacus getting started