Software testing

Tags:
Software testing
What is the difference between white box testing, black box testing and gray box testing?


Software/Hardware used:
software testing
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

I have searched about your problem and found a helpful article for you: Web application testing: The difference between black, gray and white box testing. I hope it will help you.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Justin Rohrman
    White box programming is commonly thought of as testing that involves access to things like the program code and database, it also usually means that testing is being done programmatically.

    Black box is commonly thought of as testing only with what the user would have access too. Meaning that the internals of the software are hidden.

    I have never once seen this delineation matter outside of an academic environment.
    2,130 pointsBadges:
    report
  • Michael Larsen
    To add to Justin's comment, black box testing is specifically interacting with the interfaces presented to you, with no specific knowledge of the underlying code or infrastructure.  Actions go in, processed data comes out. It's a focus on behavior and determining if behavior is correct.

    White box testing is programmatic testing. It's working with the actual code statements, making plans for exercising those code statements, whether it be through unit tests or creating tests specifically based on the code in the modules you plan to test. The code itself guides where you determine what and how to test.

    Gray box is considered a hybrid of these two approaches, and as Justin points out, the vast majority of the time, you'll be doing a little bit of both.
    6,160 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: