当前位置:网站首页>Secret script of test case design without leakage -- module test
Secret script of test case design without leakage -- module test
2022-06-27 22:00:00 【Software testing】
The last time we talked about the interview, we were asked xxx How to test the function . Today, let's talk about , At work , Give you a specific module or function , How to design use cases .
Never tell me : Equivalence class , The boundary value , Flow chart and other methods , Because third brother, don't listen , Feel impractical .
So in practice , What is it like ?
At work , In fact, there is no time for you to write function points , And test points .( These two are in our songqin course , The path of use case design is necessary )
Because there is no time , Besides , The enterprise unit is looking for you to work , As a software testing engineer , Use cases are outputs , There are no function points and test points , This is auxiliary .
So let's talk about the actual work today , How to skip function points and test points , Design test cases directly . Let's start with a case :
Here is a login function interface , among : user name : Email or mobile number password : Key in the password : When the login button forgets the password function encounters such an interface , If you tell me to use the boundary value of equivalence class to verify whether the input box can be input, it's over .
When we go to the test , It must be tested according to the business function or business , Just test one input box , It doesn't make much sense . however , The test case design method of equivalent class boundary value is deep into the bone marrow , I can't say no , It's a little more advanced . Take the above question as an example , Here are two test points , Please judge which is better ? Test point 1: Verify whether the wrong mobile phone number can be entered into the test point 2: Verify whether the mobile phone number with wrong user name can be logged in. The last two words are different between the two test points ,“ Input ” Is to verify whether this input box can input the wrong mobile phone number ;“ Sign in ” Is to verify whether the wrong mobile phone number can log in .( What kind of wrong mobile phone number , It can be embodied in the steps of the use case ) however ” Sign in ” The two words are about function , Not just the input box , But if there is a problem with the input box, it can also be verified . So we should consider the function when designing use cases , Considering the overall business , We have the above function design test point :
A little help
Finally, thank everyone who reads my article carefully , Watching the rise and attention of fans all the way , Reciprocity is always necessary , Although it's not very valuable , If you can use it, you can take it !
The house needs to be built layer by layer , Knowledge needs to be learned at one point one . We should lay a good foundation in the process of learning , More hands-on practice , Don't talk much , The last dry goods here ! I stayed up late to sort out the stages ( function 、 Interface 、 automation 、 performance 、 Test open ) Skills learning materials + Practical explanation , Very suitable for studying in private , It's much more efficient than self-study , Share with you .
Get off w/x/g/z/h: Software testing tips dao
Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .
边栏推荐
- Dynamic refresh mapper
- [LeetCode]572. A subtree of another tree
- 軟件測試自動化測試之——接口測試從入門到精通,每天學習一點點
- qt 大文件生成md5校验码
- [leetcode] dynamic programming solution split integer i[silver fox]
- Magic POI error in reading excel template file
- ∫(0→1) ln(1+x) / (x² + 1) dx
- [LeetCode]513. Find the value in the lower left corner of the tree
- Have time to look at ognl expressions
- Read write separation master-slave replication of MySQL
猜你喜欢

. Net learning notes (V) -- lambda, LINQ, anonymous class (VaR), extension method

Go from introduction to actual combat - context and task cancellation (notes)

vmware虚拟机PE启动

真香,自从用了Charles,Fiddler已经被我彻底卸载了

管理系统-ITclub(下)
![[leetcode] dynamic programming solution partition array ii[arctic fox]](/img/a1/4644206db3e14c81f9f64e4da046bf.png)
[leetcode] dynamic programming solution partition array ii[arctic fox]

Management system itclub (Part 2)

Interval DP of Changyou dynamic programming
![[LeetCode]动态规划解拆分整数I[Silver Fox]](/img/18/8dc8159037ec1262444db8899cde0c.png)
[LeetCode]动态规划解拆分整数I[Silver Fox]

跟我一起AQS SOS AQS
随机推荐
JVM memory structure when creating objects
Common methods of string class
GBase 8a的create database 会被查询耗时很长怀疑卡住的现象分析
[LeetCode]186. 翻转字符串里的单词 II
畅游动态规划之区间DP
IO stream code
BAT测试专家对web测试和APP测试的总结
What is the core competitiveness of front-line R & D personnel aged 35~40 in this position?
[LeetCode]动态规划解分割数组II[Arctic Fox]
GBase 8a OLAP分析函数 cume_dist的使用样例
Go从入门到实战——错误机制(笔记)
. Net learning notes (V) -- lambda, LINQ, anonymous class (VaR), extension method
Quick excel export
xpath
[LeetCode]186. Flip word II in string
[LeetCode]508. 出現次數最多的子樹元素和
[LeetCode]508. 出现次数最多的子树元素和
Figure countdownlatch and cyclicbarrier based on AQS queue
∫(0→1) ln(1+x) / (x² + 1) dx
[leetcode] dynamic programming solution partition array ii[arctic fox]