White box test, black box test and gray Box test difference _ White box test

Source: Internet
Author: User
White box test, black box test and gray box test difference

White box tests or white-box tests (White-box testing or Glass-box testing) are tested through the source code of the program without using the user interface. This type of test needs to be revised from the code syntax to find flaws or errors in algorithms, overflows, paths, conditions, and so on.

Black-Box testing or dark-box testing (Black-box testing) is rigorously tested by using the entire software or some kind of software functionality, but not by checking the source code of the program or by clearly understanding the source code program for that software or some kind of software function. Testers understand how the software works by entering their data and then looking at the results of the output. Typically, testers use input data that is sure to produce the correct result, and use challenging input data and input data that may result in errors to understand how the software handles various types of data.

Grey box test or Grey Box test (Gray-box testing): Grey box test is like a black box test through the user interface test, but the tester has some understanding of the software or some software functions of the source code program specifically how to design. Even read some of the source code. The tester can therefore make a definite test of certain conditions/functions. The point of this is that if you know the design inside the product and the in-depth understanding of the product through the user interface, you will be able to more effectively and deeply test its performance from the user interface.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.