Any Engineering Product (note any engineering product) can
UseThe following two types
MethodOne.
Test.
Black box testing:
Function
DesignSpecifications, which can be tested to prove each
ImplementationWhether the function meets the requirements.
White box testing: Internally known products
Work
ProcessTo verify whether each internal operation meets the design specifications and whether all internal components are inspected.
SoftwareBlack box testing means that testing should be performed at the software interface. This method regards the test object as a black box, And the tester does not consider it at all.
ProgramThe internal logic structure and internal features are based only on
RequirementSpecification, check whether the program's functions comply with its function description. Black box testing is also called
Function TestingOr
DataDriver test. Black box testing mainly aims to discover the following types of errors:
1. Are there any incorrect or missing functions?
2. Is the input correct on the Interface accepted? Can I output the correct result?
3. Are there any data structure errors or external information (such as data files) access errors?
4,
PerformanceCan the above meet the requirements?
5. Are there any initialization or termination errors?
The white box test of the software is to carefully check the procedural details of the software. This method is to view the test object as an open box, which allows the tester to design or select a test by taking advantage of the logical structure and related information in the program.
Use CasesTo test all the logical paths of the program. Check the program status at different points to check whether the actual status is consistent with the expected status. Therefore, a white-box test is also called a structure test or a logic-driven test. The white box test mainly aims to check the program module as follows:
1. test all independent execution paths of the program module at least once.
2. You can test all logical judgments in either case of true or false.
3. Execute the loop body within the loop boundary and running boundary.
4. test the effectiveness of the internal data structure.
The above facts indicate that,
Software TestingThere is a fatal defect, that is, the test is incomplete and thorough. As any program can only perform a limited number of tests (relative to a large number of poor examples), when no error is found, it cannot indicate that there is no error in the program.
This article is translated from: http://www.testage.net/html/73/n-140373.htmltext reference: