Complete Computer Knowledge Portal

Monday, May 12, 2014

Difference Between Blackbox and Whitebox Testing

Parameter
Black Box Testing
White Box Testing
Definition
It is a Software Testing Technique that examines the functionality of an Application without peering into its working or coding.
It is a Software Testing Technique to test internal structure and working of an Application Software.
Technique Applied in
This Technique Applied in Unit, Integration, System and Acceptance levels of Software Testing Process.
This Technique Applied in Unit, Integration and system levels of Software Testing Process.
Test Procedures
For Black box Testing Specific knowledge of the application's coding/internal structure and programming in general is not required.
For White box Testing Specific knowledge of the application's coding/internal structure and programming is required.
Test Design Techniques
Black box test design techniques include:
Decision Table Testing
All Pairs Testing
State Transition Analysis
Equivalence Transition
Boundary Value Analysis
Cause Effect Graph
       Error Guessing
White box test design techniques include:
Control Flow testing
Data flow testing
Branch testing
Path testing
Statement coverage
Decision coverage
Hacking
Chances of Hack are very few because Hacker has no idea about the internal working or internal code of the software being hacked.
Chances of Hack are very large because White Hat Hacker has full knowledge of the system being attacked.
Testing
This Testing can be done by the end user as per his/her needs and can test to find errors or short comings by creating random conditions.
It is not realistic for programmer to test every single existing condition of the application and some conditions will be untested.

2 comments: