Difference Between White Box, Black Box, and Gray Box Testing

Difference Between White Box, Black Box, and Gray Box Testing
March 01 16:00 2011 Print This Article

Black box testing is a testing strategy based solely on requirements and specifications. Black box testing requires no knowledge of internal paths, structures, or implementation of the software being tested.

White box testing is a testing strategy based on internal paths, code structures, and implementation of the software being tested. White box testing generally requires detailed programming skills.
There is one more type of testing called gray box testing. In this we look into the “box” being tested just long enough to understand how it has been implemented. Then we close up the box and use our knowledge to choose more effective black box tests.



The following figure shows how both types of testers view an accounting application during testing. Black box testers view the basic accounting application. While during white box testing the tester knows the internal structure of the application. In most scenarios white box testing is done by developers as they know the internals of the application. In black box testing we check the overall functionality of the application while in white box testing we do code reviews, view the architecture, remove bad code practices, and do component level testing.

DIfference-Between-whIte-Box

Related Posts:

  • No Related Posts

About Article Author

view more articles
Nataliia Vasylyna

View More Articles
  • http://icanstay.com iCanStay

    iCanStay.com provide the coupons based stay in india. iCanStay coupons based stay in five star @2999/- only. Its secure and reliable coupons stay delhi or any where in India.
    iCanStay LuxuryStay