1. Software defects
1. Everything that does not meet the requirements or exceeds the requirements is a defect
2. There is no software without defects, only defects that have not been found so far
3. Software testing is the process of finding defects
Two, software testing classification
3. Black box testing
Treat the test object as a black box, completely disregarding the internal structure and processing process, and confirm defects through the external performance of the software
Test Methods:
1. Equivalence class division:
Divide the input domain into parts, each part's representative data is equivalent to other values in this category in the test.
For example, when we register an account, the required password setting is 8-16 characters, including letters, numbers, and underscores, which need to start with a capital letter
2. Boundary value analysis:
Testing the boundary values of input and output, usually as a supplement to equivalence class partitioning.
4. White box testing
It is as if the program is packed in a transparent box, and the problem is found by analyzing and testing the internal structure of the program.