Software test basic method

zhaozj2021-02-08  323

Software test basic method

(This article is reproduced from Software Engineering Expert Network

Www.21cmm.com)

Software test methods and techniques are varied. For software testing technologies, you can classify from different angles: from whether the angle of being measured software is required, it can be divided into static testing and dynamic testing. From the perspective of testing for the internal structure of the system and the specific implementation algorithm, it can be divided into white box testing and black box testing; 1, black box test black box test also known as functional test or data driver test, it is known The product should have functions, pass the test to detect if each function can be used normally, when testing, treating the program as a black basin that cannot be opened, does not consider the internal structure and internal characteristics of the program, test, test In the program interface, it only checks if the program function is used normally according to the requirements of the requirements specification, and the program can properly receive the input number saw to generate the correct output information, and maintain external information (such as database or file) Sex. The black box test method mainly has equivalence classification, boundary value analysis, due to fruit pictures, error speculation, etc., mainly for software confirmation testing. "Black Box" method is the external structure of the program, regardless of the internal logic structure, testing the software interface and software function. The "black box" method is exhausted input test, only use all possible inputs as a test case, in order to find all the errors in the program in this way. In fact, there is a number of infinity tests, but also do not only test all legal inputs, but also test those non-legal but possible inputs. 2, white box testing white box test, also known as structural test or logical drive test, it is known that the internal work process can be tested to detect whether the internal action is normal in accordance with the specification of the specification, according to the structural test procedures inside the program, Whether each passage in the inspection process can work correctly according to the scheduled requirements, regardless of its function, the main method of the white box test has logical drive, basis test, etc., mainly for software verification. "White Box" method fully understands the internal logical structure of the program and tests all logical paths. "White Box" method is exhausted path test. When using this scenario, the tester must check the internal structure of the program, from the checkpoint logic, to draw test data. The number of independent paths throughout the program is an astronomical figure. But even if each path is tested, there may still be errors. First, the exhaustive path test must not detect the program violates the design specification, that is, the program itself is a wrong program. Second, the exhaustive path test is impossible to detect the procedure for missing paths. Third, the exhaustive path test may not find some errors related to data. 3. ALAC (Act-Like-a-Customer) Test ALAC test is a test method developed based on knowledge of customers. ALAC testing is based on the principles of many errors based on complex software products. The biggest beneficiaries are users, defect findings, and corrections will be the most prone to errors for which customers are most prone to.

转载请注明原文地址:https://www.9cbs.com/read-541.html

New Post(0)