Black Box Testing versus White Box Testing
Black box testing is a testing strategy based solely on requirements and specifications. Black box testing requires no knowledge of internal paths, structures, or implementation of the software being tested.
Typical black-box test design techniques include:
- Decision table testing
- All-pairs testing
- Equivalence partitioning
- Boundary value analysis
- Cause-effect graph
- Error guessing
- State transition testing
- Use case testing
- User story testing
- Domain analysis
- Combining technique
White box testing is a testing strategy based on internal paths, code structures, and implementation of the software being tested. White box testing generally requires detailed programming skills.
White-box test design techniques include the following code coverage criteria:
- Control flow testing
- Data flow testing
- Branch testing
- Statement coverage
- Decision coverage
- Modified condition/decision coverage
- Prime path testing
- Path testing
Originally published at http://berkayakcay.com on December 18, 2016.