当前位置:网站首页>Software testing - the concept of testing, the detailed introduction of unit testing, and how to design test cases
Software testing - the concept of testing, the detailed introduction of unit testing, and how to design test cases
2022-06-27 17:02:00 【Xiaobai's study notes】
Do you really understand testing ?
As a test engineer , You must master the key technology of designing, developing and testing infrastructure . Third , With the scale of automated testing , Various problems of test data preparation are gradually exposed and enlarged , Become a factor that affects the efficiency and stability of automated testing “ Land Rover ”. Early traditional test data preparation methods , Whether it's from the time cost of test data preparation , From the stability of test data and the convenience of test data creation , Have been difficult to adapt to the requirements of large-scale automated testing . therefore , You have to think systematically about how to make the preparation of test data a tool , As a service , Finally, the platform will be realized . Through the study of this column , I hope you will be able to cope with these trends and challenges , And can keep up with the new trend of test technology development .
For Test Engineer , Your goal is to ensure that the functions of the system in various application scenarios meet the design requirements , So you need to think about more test cases 、 More comprehensive , Equivalence class division , Boundary value analysis method Heihe test method
Equivalence class division method , Is to divide all possible input data into several subsets , In each subset , If any of the input data has the same effect on exposing potential errors in the program , Then such subsets constitute an equivalence class . In the future, we only need to select any value from each equivalence class to test , We can use a small number of representative test inputs to achieve better test coverage results . Boundary value analysis method , Is to select input 、 The output boundary value is tested . Because usually a lot of software errors occur at the boundary of the input or output range , So we need to test the boundary value , Usually the choice is exactly equal to 、 Just greater than or just less than the boundary value as test data .
Test the boundary values of input and output , A large number of software errors occur at the boundary of the input and output range ,
Equivalence class division : Divide all possible input data into several subsets , In each subset , If any input data has the same effect on exposing potential errors in the program ,
Equivalence class division : Divide all possible input data into several self , In each subset &#x
边栏推荐
- Etcd visualization tool: kstone deployment (I), rapid deployment based on Helm
- Hongmeng makes efforts! HDD Hangzhou station · offline salon invites you to build ecology
- QT5 之信号与槽机制(演示控件自带的信号与槽函数关联)
- Source NAT address translation and server mapping web page configuration of firewall Foundation
- localDateTime类型的时间(2019-11-19T15:16:17) 用oracle的时间范围查询
- LeetCode 124. Binary tree maximum path sum - binary tree series question 8
- 鴻蒙發力!HDD杭州站·線下沙龍邀您共建生態
- Popularization of MCU IO port: detailed explanation of push-pull output and open drain output
- Handling of difficult and miscellaneous problems during the installation and configuration of qt5.5.1 desktop version (configuring arm compilation Kit)
- 智慧风电 | 图扑软件数字孪生风机设备,3D 可视化智能运维
猜你喜欢

树莓派初步使用

Etcd visualization tool: kstone deployment (I), rapid deployment based on Helm

【牛客刷题】NowCoder号称自己已经记住了1-100000之间所有的斐波那契数。 为了考验他,我们随便出一个数n,让他说出第n个斐波那契数。如果第n个斐波那契大于6位则只取后6位。

leetcode 200. Number of islands

Unity 阴影——阴影平坠(Shadow pancaking)

字节跳动埋点数据流建设与治理实践

等保三级密码复杂度是多少?多久更换一次?

Handling method of occasional error reporting on overseas equipment

About MySQL: the phenomenon and background of the problem

郎酒两大王牌产品成都联动共振,持续带动光瓶酒消费浪潮
随机推荐
一个机器人位于一个 m x n 网格的左上角 。机器人每次只能向下或者向右移动一步。机器人试图达到网格的右下角。问总共有多少条不同的路径?【LeetCodeHot100】
leetcode 200. Number of islands
Solving Poisson equation by tensorflow
d3dx9_ How to repair 38.dll? d3dx9_ 38. How to download a missing DLL?
【多线程】线程通信调度、等待集 wait() 、notify()
leetcode 142. Circular linked list II
Simulated process scheduling
About MySQL: the phenomenon and background of the problem
Handling method of occasional error reporting on overseas equipment
锚文本大量丢失的问题
Handwritten promise series - all
当发布/订阅模式遇上.NET
wheel ui
EMQ 助力青岛研博建设智慧水务平台
ROS "topic" programming implementation
C语言集合运算
Leetcode 33. Search rotation sort array
Source NAT address translation and server mapping web page configuration of firewall Foundation
C language set operation
Handling of difficult and miscellaneous problems during the installation and configuration of qt5.5.1 desktop version (configuring arm compilation Kit)