In this article we are going to discuss about, difference between White box testing and Black box testing.
|White Box Testing
|Black Box Testing
|The developer can perform the white box testing.
|The test engineer can perform the black box testing.
|To perform WBT, we should have understanding of programming languages.
|To perform BBT, there is no need of have an understanding of the programming languages.
|In this we will look into the source code and test the logic of the code.
|In this, we verify the functionality of the application based on the requirement specification.
|In this, the developer should know about the internal design of the code.
|In this, there is no need to know about the internal design of the code.
|Test design techniques : Control flow testing, Data flow testing, Branch based testing, statement coverage , Decision coverage, path testing.
|Test design techniques: Decision table testing, All pair testing, Equivalence partitioning, Boundary value analysis, Cause- effect graph.
|Can be applied mainly at unit level but now in integration , system level also.
|Can be applied virtually to every level of the software testing: unit, integration, system and acceptance.