当前位置:网站首页>Summary of testing experience - Testing Theory
Summary of testing experience - Testing Theory
2022-07-01 04:39:00 【Program yuan on deer】
Test theory
1. unit testing
Unit tests are tests at the code level , It is generally used to monitor the correctness of the function of the tested code , Generally, it refers to the module 、 class 、 Test of function implementation , Check whether the achieved results meet the expectations and meet the requirements .
2. Black box testing 、 White box testing
Black box testing : Don't focus on code implementation , Just look at whether the input and output meet the expectations . Treat the program under test as a black box , Do not pay attention to the code logic of the program under test , Just look at a certain input condition , Whether the output results meet expectations .
What are the test methods of black box test ?
The boundary value 、 Equivalence class 、 Orthogonal table 、 Scene method 、 Causal inference 、 Decision table driven analysis 、 Wrong inference .
White box testing : Test according to the code logic , Logic driven testing . Ensure that every path has been tested according to the logic of the code .
What are the test methods of white box test ?
The static test 、 Dynamic testing
Why white box test ?
Black box testing is used to cover all the problems of the program , Some defects must be found from the perspective of code logic .( give an example :x/y,x=1,y=0, The denominator here cannot be 0, Black box testing cannot find errors in the internal logic of the program )
3. Caught tools , working principle
fiddler working principle : Establish a proxy server between the client and the server , Listen for requests sent by the local machine and responses returned by the server . Between the browser and the server TCP Connect with HTTP Protocol to communicate .fiddler Working in the seventh application layer , obtain https\http request ,fiddler This computer will be automatically set as a proxy server after startup , The port is fiddler Listening port (8888).
4. What knowledge should the test master ?
How to involve test cases 、 Computing networks ( Various protocols , How to communicate )、 database 、linux operating system 、 data structure 、 Can program 、 automated testing 、 Continuous integration, continuous deployment, etc .
5. Understanding of test development
Test development is also based on manual testing , Develop scripts needed in the testing process , Or code and platformize some repetitive testing work , Improve the efficiency of testing , Ensure test quality .
6. Why do you want to test ?
1、 Like testing 、 Interested in testing
2、 Have the ability to do tests
3、 Software quality is becoming more and more important , The development of testing posts is considerable
7. Occupation planning
Develop towards the full stack of test development , This also requires a good understanding of the business , Then it is to improve your code development ability , For computer networks 、 data structure 、 Algorithms need to be improved .
8. Its own advantages 、 shortcoming
advantage : I have a strong logical ability from my mathematics major , Consider things more comprehensively , Design case More comprehensive , It is proposed in the work that it has not been covered before case Find out bug.
Good communication skills ( Leader recognition ) Many problems have been avoided , Once at work , Found the problem of the scheme , Talk to the architect directly , Communicate the problems in the procedure clearly , Ensure the progress of software iteration , Ensure the smooth release of the project .
边栏推荐
- Annual inventory review of Alibaba cloud's observable practices in 2021
- [difficult] sqlserver2008r2, can you recover only some files when recovering the database?
- Programs and processes, process management, foreground and background processes
- 扩展-Fragment
- 2022 gas examination question bank and online simulation examination
- What is uid? What is auth? What is a verifier?
- Shell之分析服务器日志命令集锦
- Common thread methods and daemon threads
- Knowledge supplement: redis' basic data types and corresponding commands
- Kodori tree board
猜你喜欢
随机推荐
"Target detection" + "visual understanding" realizes the understanding of the input image
Codeforces Round #771 (Div. 2) ABCD|E
TCP server communication flow
Threejs opening
Ospfb notes - five messages [ultra detailed] [Hello message, DD message, LSR message, LSU message, lsack message]
Task04 mathematical statistics
[today in history] June 30: von Neumann published the first draft; The semiconductor war in the late 1990s; CBS acquires CNET
Browser top loading (from Zhihu)
软件研发的十大浪费:研发效能的另一面
Offline installation of Wireshark 2.6.10
Collect the annual summary of laws, regulations, policies and plans related to trusted computing of large market points (national, ministerial, provincial and municipal)
CF1638E colorful operations
Question bank and online simulation examination for special operation certificate of G1 industrial boiler stoker in 2022
什么是权限?什么是角色?什么是用户?
How to choose the right server for website data collection?
尺取法:有效三角形的个数
This may be your last chance to join Tencent
283. move zero
嵌入式系统开发笔记81:使用Dialog组件设计提示对话框
Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation 阅读笔记









