当前位置:网站首页>Summary of testing experience - Testing Theory

Summary of testing experience - Testing Theory

2022-07-01 04:39:00 Program yuan on deer

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 .

原网站

版权声明
本文为[Program yuan on deer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202160248403437.html