The title difference of black box and white box

May need to say how the test process is the use of white box and black box testing
following is a description of the eight children:
1. Software Testing : white-box testing, black box testing gray box testing, static testing, dynamic testing
2. white-box testing : a test case design method, where the box refers to the software being tested, white box, the name suggests box is visible, you can know how things inside the box and inside the works, and therefore white box test requires you to have a clear understanding of the structure and inner workings of the system, and based on this knowledge to design your use cases.
White-box testing techniques can generally be divided into two kinds of static analysis and dynamic analysis techniques.
Static analysis are: control flow analysis, data flow analysis, information flow analysis techniques.
Dynamic analysis are: logic test coverage (branch test, path testing, etc.), program instrumentation and the like.

White-box testing advantages : forcing testers to think carefully implement the software; can detect each branch and path code; reveal hidden errors in the code; more thorough testing of the code; optimization.
White box disadvantages : costly; not detect missing code path and the sensitivity of the data errors; not verify the correctness of specifications.
3. The black box testing , also known as functional testing, this is because black box testing focuses on the function of the tested software implementation rather than internal logic. In the black box, the internal structure, the operation of the measured object is not visible on the tester, the testers to verify the tested products are mainly based on its specifications to verify its consistency with the specifications.
In the vast majority of black box without user involvement, the most common tests are: functional testing, capacity testing, security testing, load testing, recovery testing, benchmark testing, stability testing, reliability testing.
4. The gray box testing : white box and the black box testing is often not decisively separated, typically using black box CROSS white box, the cross-method white box in black box testing. Gray box testing is to test this type of boundary between the white box and black box testing.
The most common is the gray box testing integration testing.
5. Static test : is a non-technical tests performed by executing the program. Its key features are shown and described checking whether the software is consistent, there is no conflict or there is no ambiguity.
6. Dynamic test : contains the program uses a specific desired result of a formal run in a controlled environment. It shows a system in the check status is correct or incorrect.
White box test unit belonging to the category; gray box testing integrated test belongs to the category; black box testing category belongs to the test system.

Guess you like

Origin blog.csdn.net/weixin_43285503/article/details/90064432