当前位置:网站首页>What are the test case design methods?
What are the test case design methods?
2022-06-10 08:13:00 【Software test network】
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 .
边栏推荐
- Image Classification and Retrieval
- Stream function compatible with cstring--cmyfile
- 使用快慢指针实现链表找中点问题
- 软件测试:工作后才知道的10条超实用测试准则
- 10 个派上用场的 Flutter 小部件
- Comment le système d'affaires devrait - il être antivirus?
- Research Report on market supply and demand and strategy of Chinese water jet cutting machine (water jet cutting machine) industry
- 电阻、电容、电感
- 什么样的对象适合自动化测试?
- Swin UNET strongest split network
猜你喜欢
![[apio2022] Mars - structure, state compression](/img/ae/877bd8f20082257551c85abdbb1fd6.png)
[apio2022] Mars - structure, state compression

Using wechat games to achieve Dragon Boat battle - making zongzi

浏览器中如何使用 module export import: Uncaught SyntaxError: Cannot use import statement outside a module 问题

3775 array completion (ring diagram)

Vulnerability recurrence_ Cve-2020-0796 eternal black vulnerability_ Pit encounter_ resolved

业务系统该如何防病毒

Resistance, capacitance, inductance

被微软遗弃的神作《扫雷》,竟然被中国玩家玩出花?

【homeassistant与28BYJ-48步进电机握手】

Deep learning: NLP word embedding
随机推荐
Notice on the issuance of Shenzhen action plan for cultivating and developing biomedical industry clusters (2022-2025)
Esayexcel quick start
Research Report on market supply and demand and strategy of underwater lighting industry in China
10 个派上用场的 Flutter 小部件
DataGridView数据的增删改查,XML保存参数(C#)
One's deceased father grind adjusts, read this you will understand!
Easyexcel realizes simple uploading and downloading
Boxing and UnBoxing
功能测试包含哪些测试?分别有什么作用?
業務系統該如何防病毒
PHP security development 07 article module modification function compilation
Model deployment
Introduction to temporal database incluxdb
OS Experiment 6 [device management]
[adjustment] South China Normal University (211, double first-class) zhuangzhengfei research group of biophotonics Research Institute, master enrollment
Pyqt5 basic learning
Common MySQL commands for viewing database information
Notice on the issuance of Shenzhen action plan for cultivating and developing software and information service industry clusters (2022-2025)
Smart light 2022 Global Industry Analysis Report
easyexcel实现简单的上传下载