Black Box vs White Box Testing


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

CriteriaBlack Box TestingWhite Box Testing
DefinitionBlack Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is NOT known to the testerWhite Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester.
Levels Applicable ToMainly applicable to higher levels of testing: 
Acceptance Testing

System Testing

Mainly applicable to lower levels of testing:
Unit Testing

Integration Testing

ResponsibilityGenerally, independent Software TestersGenerally, Software Developers
Programming KnowledgeNot RequiredRequired
Implementation KnowledgeNot RequiredRequired
Basis for Test CasesRequirement SpecificationsDetail Design


http://softwaretestingfundamentals.com/differences-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.
- See more at: http://www.softwaretestingclass.com/difference-between-black-box-testing-and-white-box-testing/#sthash.YdNpRAE9.dpuf


Comments