QAAnywhere

Remote QA & testing jobs, worldwide.

Guides

Test case design techniques with worked examples

By Denis Bojkovski, Test Automation Architect · Published November 25, 2026

Why techniques help

Without a technique, people test what comes to mind, which is usually the ordinary case and an empty field. Techniques are ways of noticing. They are also what interviewers look for when they hand you a form and say "test this".

The feature

A parcel service: weight above 0 and up to 30 kg; up to 5 kg costs 6 euro, over 5 up to 30 kg costs 12 euro; members pay half; parcels over 20 kg need a signature.

Equivalence partitions

Values that should be treated alike form a group; test one from each.

Partition Example Expected
Not a number abc Rejected
Zero or below -1 Rejected
Over 0, to 5 3 6 euro
Over 5, to 20 12 12 euro
Over 20, to 30 25 12 euro, signature
Over 30 31 Rejected

Note the split at 20. It does not change price, but it changes behaviour, so it is a separate group.

Boundary values

Mistakes gather at edges: < instead of <=. If weight is accepted to one decimal, test 0, 0.1, 5.0, 5.1, 20.0, 20.1, 30.0 and 30.1. Ask what happens with 5.04: rounded before or after pricing? That question is often the first defect found, and it is in the requirement.

Decision table

When conditions combine, list the combinations.

1 2 3 4 5 6
Weight band ≤5 ≤5 5–20 5–20 20–30 20–30
Member no yes no yes no yes
Price (euro) 6 3 12 6 12 6
Signature no no no no yes yes

Six columns, six tests, nothing forgotten. Writing the table with a product owner often exposes a column nobody had decided.

State transitions

A parcel moves: created → paid → collected → delivered, and may be cancelled before collection. Draw the states, then test each allowed move, and the tempting forbidden ones: cancelling after collection, paying twice, delivering without collecting. Include repeated events, since networks deliver messages more than once.

Pairwise

Three browsers, four countries, three payment methods and two customer types give 72 combinations. Many faults depend on one value or on a pair. A pairwise set covers every pair in around a dozen tests. Generate it with a tool, such as Microsoft's free PICT, and then add the combinations your customers really use. Do not use it where a particular combination of three matters; write that one explicitly.

Error guessing

Experience as a technique: double click, back button, two tabs, expired session, pasted spaces, an emoji, a very long name, a comma as the decimal separator, a slow connection. Keep a team list, and add to it each time a defect escapes.

Choosing

  • A range: boundaries.
  • Rules that combine: decision table.
  • Something with a life cycle: states.
  • Many independent options: pairwise.
  • Unknown territory: exploration.

Using this in an interview

Say which technique you are using and why, then produce the values. Ask about rounding, units and limits before testing. Stop when the risk is covered, and say what you left out. That is more convincing than forty unstructured cases. See also QA interview questions.

Open remote QA roles

  1. QA Engineer (Manual Testing)Velixo · Poland
  2. Quality Analyst (healthcare programs)General Dynamics Information Technology · United States
  3. Marathi Audio Transcription QAWelocalize · India
  4. Bengali Audio Transcription QAWelocalize · India
  5. Quality Analyst (healthcare programs)Gdit · Any Location / Remote

More guides