A tester designs test cases from a requirements specification without looking at the source code. Which category of test technique is this?
Choose one.
Black-box test techniques are based on an analysis of the specified behavior of the test object, without reference to its internal structure.
The tester's input is the requirements specification, which describes required behavior, and the code is deliberately not consulted. That is a black-box (specification-based) technique. White-box would need the code or design; experience-based would rely on the tester's own knowledge rather than a specification.
- Identify what the tests are derived from: a requirements specification.
- Note that the internal structure is not used.
- Match specified behavior without internal structure to black-box.
Exam tip: Tests from the specification, not the code: black-box.
ISTQB CTFL Test Techniques Overview: Black-box vs White-box vs Experience-based — the lesson that teaches this.