Difference between Black Box Testing and White Box Testing

Many times, I have heard from reader about few terminology of Software Testing. Amongst the list readers asking about the what is meaning of Black Box and White Box testing. They were totally confused on the this Software Testing terminology and who is responsible for doing this type of testing, when it is carried out and what all inputs required to perform such types of testing.

So to answer all questions in today’s article we will covering Difference between Black Box Testing and White Box Testing.

#

             Black Box Testing                   White Box Testing

1

Black box testing is the Software testing method which is used to test the software without knowing the internal structure of code or program.White box testing is the software testing method in which internal structure is being known to tester who is going to test the software.

2

This type of testing is carried out by testers.Generally, this type of testing is carried out by software developers.

3

Implementation Knowledge is not required to carry out Black Box Testing.Implementation Knowledge is required to carry out White Box Testing.

4

Programming Knowledge is not required to carry out Black Box Testing.Programming Knowledge is required to carry out White Box Testing.

5

Testing is applicable on higher levels of testing like System Testing, Acceptance testing.Testing is applicable on lower level of testing like Unit Testing, Integration testing.

6

Black box testing means functional test or external testing.White box testing means structural test or interior testing.

7

In Black Box testing is primarily concentrate on the functionality of the system under test.In White Box testing is primarily concentrate on the testing of program code of the system under test like code structure, branches, conditions, loops etc.

8

The main aim of this testing to check on what functionality is performing by the system under test.The main aim of White Box testing to check on how System is performing.

9

Black Box testing can be started based on Requirement Specifications documents.White Box testing can be started based on Detail Design documents.

10

The Functional testing, Behavior testing, Close box testing is carried out under Black Box testing, so there is no required of the programming knowledge.The Structural testing, Logic testing, Path testing, Loop testing, Code coverage testing, Open box testing is carried out under White Box testing, so there is compulsory to know about programming knowledge.

Please post your comments and questions below. We are always thrilled to hear from you!


⇓ Subscribe Us ⇓


If you are not regular reader of this website then highly recommends you to Sign up for our free email newsletter!! Sign up just providing your email address below:


 

Check email in your inbox for confirmation to get latest updates Software Testing for free.


  Happy Testing!!!
 

25 thoughts on “Difference between Black Box Testing and White Box Testing”

  1. Hi,
    I am a fresher in testing field and working in one of the middle scale company on web based application testing.
    I want to know what different procedures used in WBT & BBT.
    Thanks,
    Anil

    Reply
  2. It is a great comparison between two methodologies. it would be love if you include the size of the software and which efficiency method will be used.

    Reply

Leave a Comment

Share This Post