Before learning software Testing This course, I have always felt that software testing is only after the basic completion of software development, using a variety of methods to find out the existence of software bugs. In fact, software testing runs through the entire software development cycle, and it's more important than I thought.
When it comes to software testing, the first thing to think about is black-box testing and white-box testing, which is the first two testing methods in software testing.
Black box test: The functional design specifications of a known product can be tested to verify that each implemented function meets the requirements.
White Box testing: The internal working process of a known product can be tested to prove that each internal operation complies with the design specifications and that all internal components are inspected.
The black box test of the software means that the test should be carried out at the interface of the software, this method is to see the test object as a black box, the tester does not consider the internal logic structure and internal characteristics of the program, only according to the program requirements specification, check the function of the program is consistent with its function description. As I understand it, it is to design some input data to see if the output data is the expected data. If not, then there is a bug in this part. When designing input data, refer to the functions it implements to design the data, covering as much of the functionality as possible and the boundaries.
The software's white-box test is a detailed examination of the procedural details of the software. This approach is to think of the test object as an open box, which allows the tester to design or select test Cases and test all the logical paths of the program, using the logical structure within the program and related information. Determine whether the actual state is consistent with the expected state by checking the program state at different points. When designing the input data, this kind of test, because the structure inside the program is known, should be tested at least once for all the independent execution paths of the program module, mainly to test the boundary of the loop and the running bounds.
Software Testing-1