What is the difference between white box, black box, and gray box testing? Ans. 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 above 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. - Study24x7
Social learning Network
04 May 2023 11:28 AM study24x7 study24x7

What is the difference between white box, black box, and gray box testing? Ans. 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...

See more

What is the difference between white box, black box, ...
study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles