While developing the software product, Software Development Life Cycle (SDLC) checks functional and non functional user requirement. Following points clearly shows difference between black box testing vs white box testing
S. No | Black Box Testing | White Box Testing |
1 | Black box testing is a method of software testing which is used to test software without knowing internal structure of program or design | White box testing is a method of software testing which is used to test software with knowing internal structure of program or design |
2 | To test black box testing, programming knowledge is not required | To test white box testing, programming knowledge is required |
3 | Implementation knowledge is not required | Implementation knowledge is required |
4 | Testers need not to be technically sound | Software developer or programmer need to be technically sound |
5 | Black box testing done by testers | White box testing done by software developer or programmer |
6 | It focus on functions | It focus on internal structure and design |
7 | It is based on behavior of the application | It is based on structure of the application |
8 | It is based on Software Requirement Specification documents | It is based on detail design documents |
9 | It is concern with validation of output rather than how it is produced | It is concern with validation of internal structure of items under consideration of output |
10 | It is performed later stage of execution | It is performed early stage of execution |
11 | It is also called as functional or closed testing | It is also called as structural or glass box or clear box or transparent testing |
12 | Examples -: Acceptance testing, System testing | Examples -: Unit testing, Integration testing |