White- vs. black-box testing
A common dichotomy for testing is white-box vs. black-box testing
In white-box, the tester sees the code
- A key question is, “What code is covered?”
- Often done earlier
In black-box, the tester sees the specification but not the code
- The primary question is, “Does the code satisfy the specification for specific test cases?”
- Often done later