directory navigation
What is black box testing?
Black box testing is equivalent to functional testing, and it is the ability that junior software testing engineers should have. In the testing work, the test object is regarded as a black box, without considering the internal structure, that is, without considering the code content of the software, as long as the functional effect displayed by the test software can meet the functional requirements.
The most commonly used black box testing methods
1. Equivalence class division
That is, all possible input data subsets
effective equivalence class
Enter valid arbitrary data
Example: If the input range is required to be 1-100, then any number between 1 and 100 can be input
invalid equivalence class
Enter invalid arbitrary data
Example: If the input range is required to be 1-100, then any number other than 1-100 can be input
2. Boundary Value Analysis
Example: If the input range is required to be 1~100, then you can input 0, 1, 2, 99, 100, 101
3. Wrong guessing method
According to the software function and logic, contact the usage scenarios, speculate on possible errors, and design test cases.
Of course, there are more than these black-box testing methods, and there are also orthogonal experimental methods (using the fewest test cases to achieve the highest test case coverage), process analysis methods (using different trigger event sequences of the same event to form event results for verification), causality diagram method (considering multiple combinations of input conditions and multiple output results), etc. This article only summarizes several testing methods used by individuals in software testing work and serves as a learning record.