A. Statement Coverage
B. Branch / Decision Coverage
C. Path Coverage
D. Condition Coverage
Sr. No. | Black Box Testing | White Box Testing |
---|
1. | It is used to test the software without knowing the internal structure of the code or the program. | The internal structure is being known to the tester who is going to test the software. |
2. | It is carried out by testers. | It 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. | It concentrates on the functionality of the system under test. | It concentrates on the testing of the program code of the system under test like code structure, branches, conditions, loops etc. |
6. | It can be started based on the Requirement Specification documents. | It can be started based on the detail design documents. |
7. | This testing means functional test or external testing. | This testing means structural test or interior testing. |
8. | It is applicable to higher levels of testing like Acceptance Testing, System Testing. | It is applicable to lower levels of testing like Unit Testing, Integration Testing. |
9. | The tester focuses on the functionality of the system. | The developer focuses on the structure means the program or code of the system. |
10. | It looks at what are the available inputs for an application and what the expected outputs are that should result from each input. | It looks under the covers and into the subsystem of an application. |