Traditional Culture Encyclopedia - Traditional stories - Testing is the process of executing a program for what

Testing is the process of executing a program for what

Testing is the process of executing a program in order to find errorsFinding errors.

I. Software Testing

Software testing, describes a process used to facilitate the identification of the correctness, completeness, security and quality of software. In other words, software testing is a process of reviewing or comparing between actual output and expected output. The classic definition of software testing is the process of operating a program under specified conditions to detect program errors, measure the quality of the software, and evaluate its ability to meet design requirements.

Testing principles

First of all, you need to follow the principles of software testing, that is, the principle of incomplete compliance. Incomplete principles that is, if the test is incomplete, the test process involves more parts of the principle of immunity, can play a role in software testing to help.

Three, testing methods

1, static testing methods. Static testing method refers to the static analysis of the software code test, such processes apply less data, the main process for the static nature of the software test program through the test algorithms, algorithms in the correctness of the operation, and then complete the testing process, the advantage of such tests is that they can consume a shorter period of time, fewer resources to complete the testing of the software, software code, can be more obvious to find the errors that occur in such code.

2, dynamic testing. The main purpose of the computer dynamic testing for the detection of problems in the operation of the software, compared with static testing methods, it is known as dynamic that is the reason for its testing methods rely mainly on the use of the program, mainly for the detection of dynamic behavior in the software is missing, whether the software is running well.

3, black box testing. Black-box testing, as the name suggests, is to simulate the software testing environment as an invisible "black box". Observe the data output through the data input, check whether the internal function of the software is normal.

4, white box testing. White-box testing relative to black-box testing has a certain degree of transparency, the principle of the internal application of software, source code and other products based on the internal work process for debugging.