当前位置:网站首页>What is a test case? How to design?
What is a test case? How to design?
2022-07-26 17:17:00 【Love coriander】
It is often mentioned in learning or actual testing work “ The test case ” The word , you 're right , Test case is the core of test work , No matter what kind of test to do , Before you actually do the test , We all need to design test cases according to software requirements , Then according to the designed test cases , Start testing . So here comes the question , What is a test case ? What's the use of it ? Now let's enter the study of test cases !
1、 Recognize test cases
Before software testing ?, Testers tend to design test cases first , Test item by item according to the compiled test cases . Why do you do this ? such as , Test the login function of the website page , If you get the function without thinking, go to a little bit , How many test methods can you think of ?
Even a very simple little function test , Find and list the test points in advance , Not to mention a huge system with complex functions . If there are no test cases , It is difficult to describe the possible situation clearly , Ensure the quality of the software .
So far , You may already know what test case design is . It is a set of test inputs designed for a specific purpose 、 Execution conditions and expected results , So as to verify whether the test meets the requirements , It is an important basis for guiding the testing work .
In layman's terms , The process of analyzing the test points of a function and listing different test cases is the process of designing test cases , And each listed situation is a test case . When the design is completed, it can be executed according to these test cases , In this way, it is not easy to miss measurement 、 Wrong measurement .
2、 Design test cases
Before designing test cases , We need to understand the basic elements of software test cases , That is, the basic content that a complete test case must contain . Only the content is sufficient to guide the tester to conduct the test , Otherwise, the written test cases will not be tested , That is, the failed test case .
Test cases are the most basic 8 Elements , Test case numbers 、 Function module name 、 Test case title 、 Importance level 、 precondition 、 input data 、 Operation steps and expected results . Of course , Different companies may have different test cases , In practice, we can supplement according to the situation , For example, add testers 、 Test time 、 Notes and other information .
In order to ensure the coverage of test cases , There is also a corresponding process for writing test cases in enterprises . The first is demand analysis , Then extract the test points , Then there is test case design , Finally, the test case review .
Now I invite you to join our software testing learning exchange group :【746506216】, remarks “ The group of ”, We can discuss communication software testing together , Learn software testing together 、 Interview and other aspects of software testing , There will also be free live classes , Gain more testing skills , Let's advance together Python automated testing / Test Development , On the road to high pay .
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
- About the idea plug-in I wrote that can generate service and mapper with one click (with source code)
- Win11 auto delete file setting method
- 营销指南 | 几种常见的微博营销打法
- Thinkphp历史漏洞复现
- Thoroughly uncover how epoll realizes IO multiplexing
- Concepts and differences of DQL, DML, DDL and DCL
- 【飞控开发基础教程2】疯壳·开源编队无人机-定时器(LED 航情灯、指示灯闪烁)
- Redis hotspot key and big value
- UPC 2022 summer personal training game 07 (part)
- JD Sanmian: I want to query a table with tens of millions of data. How can I operate it?
猜你喜欢

How emqx 5.0 under the new architecture of mria+rlog realizes 100million mqtt connections

PyQt5快速开发与实战 3.4 信号与槽关联

2022-2023 信息管理毕业设计选题题目推荐

Detailed explanation of tcpdump command

Win11怎么重新安装系统?

After Oracle creates a table partition, the partition is not given during the query, but the value specified for the partition field will be automatically queried according to the partition?

The principle of reliable transmission in TCP protocol

Alibaba cloud Toolkit - project one click deployment tool

How does win11 reinstall the system?

How to implement Devops with automation tools | including low code and Devops application practice
随机推荐
机器学习-什么是机器学习、监督学习和无监督学习
Linear regression from zero sum using mxnet
Tensorflow Lite source code analysis
What does it mean to lock financial products regularly? Can financial products be redeemed during the lock-in period?
Mount NFS storage
Alibaba side: analysis of ten classic interview questions
How does the data link layer transmit data
The principle of reliable transmission in TCP protocol
Chapter 1 Overview - Section 1 - 1.3 composition of the Internet
Marxan模型保护区优化与保护空缺甄选技术、InVEST生态系统中的应用
Take you a minute to learn about symmetric encryption and asymmetric encryption
浅谈云原生边缘计算框架演进
VIM visualization mode and its usage
[classification] vgg16 training record
About the idea plug-in I wrote that can generate service and mapper with one click (with source code)
Definition and relationship of derivative, differential, partial derivative, total derivative, directional derivative and gradient
Tcpdump命令详解
How to use different tools to analyze and optimize code performance when CPU utilization is high
2022 年有哪些流行的技术?
Pyqt5 rapid development and practice 3.2 introduction to layout management and 3.3 practical application of QT Designer