All jobs / QA / manual tester / Test Design
QA / manual tester interview question · 1–3 years
Shipping is free when the basket is over a threshold, or the customer is a member, or a promo code applies — and the rules interact.
How do you design the tests?
The strongest answer
Build a decision table — the conditions as rows, the combinations as columns, the expected outcome in every cell — test each column, and drop the combinations the business says cannot occur
Why it works
Exactly — a decision table makes the missing combination visible, and that is where this kind of rule always breaks.
What a good answer covers
- Rules that combine need a table.
- Conditions as rows.
- Allowed combinations as columns.
- Expected outcome in every cell.
Answers that fall short
- Close, but not the strongest: I write one test per rule, plus one with two rules together to cover the interaction
Per-rule tests miss the combinations, and combinations are where discount logic goes wrong. - Weak: I test every possible combination of the three conditions exhaustively, however many that comes to
Exhaustive works for three conditions and collapses at six; the table is what lets you argue about which to drop. - Red flag: I test the examples the product manager listed in the story and leave the rest alone
The examples in a story are the ones the author already thought of — by definition not the gaps.
Who gets asked this
More Test Design questions
- An order moves through created, paid, shipped, delivered and cancelled. How do you design the tests?
- A legacy admin has no spec and few tests. How do you explore it before a rewrite?
- Which boundaries do you treat as famous, not optional?
- A feature uses on-device ML. Your pack has no cases. How do you start?
- You inherit two thousand written test cases and nobody can say which of them still matter. What do you do…
- How do you decide what humans still hold when automation is mature?
- A field accepts 1–100. Which values do you try first?
- You have an hour to explore a new checkout. How do you start?