You are on page 1of 4

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 re-
quired 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


Black box testing is the Software
White box testing is the software testing
testing method which is used to test
method in which internal structure is
1 the software without knowing the
being known to tester who is going to test
internal structure of code or
the software.
program.
This type of testing is carried out by Generally, this type of testing is carried
2
testers. out by software developers.
Implementation Knowledge is not
Implementation Knowledge is required to
3 required to carry out Black Box
carry out White Box Testing.
Testing.
Programming Knowledge is not
4 Programming Knowledge is required to
required to carry out Black Box
carry out White Box Testing.
Testing.
Testing is applicable on higher Testing is applicable on lower level of
5 levels of testing like System Testing, testing like Unit Testing, Integration
Acceptance testing. testing.
Black box testing means White box testing means structural test or
6
functional test or external testing. interior testing.
In White Box testing is primarily
In Black Box testing is primarily
concentrate on the testing of program
7 concentrate on the functionality of
code of the system under test like code
the system under test.
structure, branches, conditions, loops etc.
8 The main aim of this testing to The main aim of White Box testing to
check on what functionality is check on how System is performing.
performing by the system under
test.
Black Box testing can be started
White Box testing can be started based on
9 based on Requirement Specifications
Detail Design documents.
documents.
The Structural testing, Logic testing, Path
The Functional testing, Behavior
testing, Loop testing, Code coverage
testing, Close box testing is carried
testing, Open box testing is carried out
10 out under Black Box testing, so there
under White Box testing, so there is
is no required of the programming
compulsory to know about programming
knowledge.
knowledge.

You might also like