当前位置:网站首页>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 !
边栏推荐
- Thoroughly uncover how epoll realizes IO multiplexing
- Implementing dropout with mxnet from zero sum
- 【Express接收Get、Post、路由请求参数】
- Everything is available Cassandra: the fairy database behind Huawei tag
- [Development Tutorial 9] crazy shell arm function mobile phone-i2c tutorial
- Redis hotspot key and big value
- JD Sanmian: I want to query a table with tens of millions of data. How can I operate it?
- Tensorflow Lite source code analysis
- Batch normalization batch_ normalization
- 公安部发出暑期旅游客运交通安全预警:手握方向盘 绷紧安全弦
猜你喜欢

About the idea plug-in I wrote that can generate service and mapper with one click (with source code)

Idea Alibaba cloud multi module deployment

Marxan model, reserve optimization and protection vacancy selection technology, application in invest ecosystem

2019普及组总结

【开发教程8】疯壳·开源蓝牙心率防水运动手环-三轴计步伐

UPC 2022 summer personal training game 07 (part)

Win11系统如何一键进行重装?

What is a distributed timed task framework?

Advantages of time series database and traditional database

FIR filter design
随机推荐
正则表达式
什么是分布式定时任务框架?
regular expression
Video media video
Batch normalization batch_ normalization
Avalanche subnets vs. polygon supernets of application chain
公安部发出暑期旅游客运交通安全预警:手握方向盘 绷紧安全弦
PyQt5快速开发与实战 3.2 布局管理入门 and 3.3 Qt Designer实战应用
Stand aside with four and five rear cameras, LG or push the 16 rear camera mobile phone!
Concepts and differences of DQL, DML, DDL and DCL
[untitled]
Marxan model, reserve optimization and protection vacancy selection technology, application in invest ecosystem
Implementing dropout with mxnet from zero sum
Redis persistence - detailed analysis of RDB source code | nanny level analysis! The most complete network
机器学习-什么是机器学习、监督学习和无监督学习
2022 年有哪些流行的技术?
Using MySQL master-slave replication delay to save erroneously deleted data
[ctfshow-web]反序列化
Add 5g and AI, oppo announced to invest 10billion R & D funds next year!
MySQL lock mechanism (example)