Never underestimate the power of Passion!

Wednesday, 24 June 2015

On 11:06 by Vardan Kumar in ,    No comments
White Box vs Black Box

Difference between White Box Testing and Black Box Testing

Before we head on to the differences lets discuss what white box and black box testing actually are?

White box Testing vs Black Box Testing
White Box vs Black Box



WHITE BOX TESTING:

The testing technique which deals with the program code of system under test is called as white box testing.Obviously for doing so the internal structure of the software must be known and hence generally performed by a software developer.


BLACK BOX TESTING:

The testing technique which deals with the functionality of system under test is called as black box testing.There is no need to know the internal structure and implementation of the software to perform this.Generally independent software testers are hired to perform this.

So lets move on to the:- 

Difference between White Box Testing and Black Box Testing

BLACK BOX
WHITE BOX
1. Black Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is NOT known to the tester
1. White Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester.
2. Generally, independent Software Testers
2. Generally, Software Developers
3. Knowledge of programming language is not required.
3. Knowledge of programming language is required.
4. Implementation knowledge is not required.
4. Implementation knowledge is required.
5. Requirement specifications are the basis for test cases
5. Detail design is the basis for test cases.
6. Black Box testing primarily concentrates on the functionality of the system under test.
6. White Box testing is primarily concentrate on the testing of program code of the system under test
7. Black box testing means functional test or external testing.
7. White box testing means structural test or interior testing.
8. Testing is applicable on higher levels of testing
8. Testing is applicable on lower levels of testing
9. The Functional testing, Behavior testing, Close box testing is carried out under Black Box testing.
9. The Structural testing, Logic testing, Path testing, Loop testing, Code coverage testing, Open box testing is carried out under White Box testing.
10. Applicable on System Testing, Acceptance testing.
10. Applicable on Unit Testing, Integration testing.







0 comments:

Post a comment