ISTQB Foundation/Ch.4 · Test Analysis and Design (34%) · Topic 1

Test Techniques Overview & the Test Development Process

Categorize a technique as black-box, white-box or experience-based, and trace test basis → condition → case → procedure.

Test techniques fall into three categories. Black-box (specification-based) techniques derive tests from an external specification — requirements, user stories — without looking at the internal structure: equivalence partitioning, boundary value analysis, decision tables, state transition testing. White-box (structure-based) techniques derive tests from the internal structure of the component itself — code paths, branches. Experience-based techniques rely on tester knowledge and intuition rather than a formal model: error guessing, exploratory testing, checklist-based testing.

The test development process moves from general to concrete:

  • Test analysis turns the test basis into test conditions ("what's worth verifying" — e.g. "discount is applied correctly for orders over $50").
  • Test design turns each condition into one or more test cases — concrete preconditions, inputs, actions and expected results, using a test oracle to know what "correct" looks like.
  • Test implementation organizes cases into test procedures/scripts, prepares test data and the environment.

Coverage measures how thoroughly a chosen technique's items (partitions, branches, requirements) were actually exercised.

Every test case should trace back to a test basis item — the discipline that lets a team answer "if this requirement changes, which tests need to change with it?" without re-deriving the whole suite from scratch.

Real-world use case

A Playwright suite with hundreds of specs and no mapping back to requirements is exactly the failure mode this section warns about: when a requirement changes, nobody can say with confidence which specs are now stale versus still valid, so the safe (expensive) move becomes re-reading the whole suite instead of a scoped update.

Example code

Technique category → what it's based on → example techniques
CATEGORY            BASED ON                  EXAMPLES
Black-box            External specification    Equivalence partitioning, BVA,
                                                 decision tables, state transition
White-box             Internal code structure   Statement coverage, branch coverage
Experience-based      Tester knowledge/intuition Error guessing, exploratory testing

Exercise

Trace basis → condition → case

For the requirement below, write one test condition and one concrete test case (precondition, input, action, expected result) derived from it.

// REQUIREMENT: "Free shipping applies to orders with a subtotal of $50 or
// more, before any discount codes are applied."

// Test condition:

// Test case:
//   Precondition:
//   Input:
//   Action:
//   Expected result:

Read-only here — open the English track at /learn to write and edit this exercise.

Quiz (3)

1. A tester designs tests purely from a requirements document, never looking at the code. Which technique category is this?

2. What is a "test condition," and where does it come from in the test development process?

3. Why does traceability from test cases back to the test basis matter?