Sie sind auf Seite 1von 3

The Differences Between Black Box Testing and White Box Testing are listed below.

Criteria Black Box Testing White Box Testing


Black Box Testing is a software White Box Testing is a software
testing method in which the internal testing method in which the
Definition structure/ design/ implementation of internal structure/ design/
the item being tested is NOT known to implementation of the item being
the tester tested is known to the tester.
Mainly applicable to higher levels of Mainly applicable to lower levels
Levels testing:Acceptance Testing of testing:Unit Testing
Applicable To
System Testing Integration Testing
Generally, independent Software
Responsibility Generally, Software Developers
Testers
Programming
Not Required Required
Knowledge
Implementation
Not Required Required
Knowledge
Basis for Test
Requirement Specifications Detail Design
Cases

Black Box Testing White Box Testing


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

Black Box Testing VS White Box Testing

Black Box Testing White Box Testing


1 In this testing knowledge of In this form of testing knowledge of
programming is not necessarily programming is must means it is essential.
essential.
2 Normally independent software Normally software developers are
testers are responsible for doing responsible for doing White Box Testing.
Black Box Testing.
3 In this form of testing Knowledge of In this form of testing Implementation
implementation is not required. knowledge is required.

4 In Black Box Testing, testers may or Normally software developers are involved
may not be technically sound. in this testing, but if it is performed by
software testers, then testers should be
technically sound.
5 In this sort of testing testers mainly In this sort of testing developers mainly
focuses on the functionality of the focuses on the structure means
system. program/code of the system.
6 This testing is done by testers. This testing is mostly done by developers.

7 This type of testing always focuses This type of testing always focuses on how
on what is performing/ carried out. it is performing/ carried out.

8 In Black Box Testing no knowledge In White Box Testing knowledge regarding


regarding internal logic of code is internal logic of code is needed means
needed means no need of need of programming is mandatory.
programming is necessary.

9 Other names of this testing include Other names of this testing include means
means synonyms of black box synonyms of white box testing are
testing are testing regarding testing regarding code means Structural
functionality means Functional testing, Glass-box/ Clear-box testing,
testing, Behavioral testing, and Open-box testing/ Transparent-box
Opaque-box/ Closed-box testing that testing, Logic-driven testing and Path-
is the reason why in this testing no oriented testing that is the reason why in
knowledge of programming is this testing knowledge of programming is
needed. needed.
10 Black box testing means functional White box testing means structural test or
test or external test. interior test.

Das könnte Ihnen auch gefallen