DOMAIN 02 / 51 TOPICS

Test design techniques in depth

From the basic techniques to coverage, combinations, code coverage and choosing a mix. Every technique ends in a test you could run.

YOUR PROGRESS IN THIS DOMAIN

0 of 51 topics demonstrated.

The whole domain takes about 12 hours 15 minutes.

Try this one without a pass

READ THE FIRST EXPLANATION →

From test basis to coverage: how much testing is enough — the first explanation of every topic is open. Deeper levels stay Pro.

DOMAIN CERTIFICATE / CHECKABLE CREDENTIAL

Earn the Test design techniques in depth certificate

Pass the timed exam to earn a public, checkable credential in the name on your account.

Draw
20 random questions
Time
30 minutes
Pass
75%

Practice checkpoints explain every answer. This separate exam is the assessment that issues the certificate.

Test design techniques in depth — specimen certificate

Payments Signal

Specimen — not issuedCertificate of achievement

This certifies that

Your name here

has successfully passed the timed, server-marked exam for

Test design techniques in depth

Assessed domains

Test design techniques in depth

Specimen — nothing to verify

Assessment result

Not sat

Issued

Not issued

Syllabus as at

Not sat

Credential ID

None issued

Specimen — nothing to verify

paymentssignal.com/certificates

A blank specimen, shown so you can see the document before you sit for it. Nobody holds this, no exam was sat for it, and it is not an issued credential. A real one is issued by Payments Signal after an open-book timed exam. It is not accredited by any bank, payment scheme, standards body or awarding organisation.

  1. 1712 MIN
    From test basis to coverage: how much testing is enoughYou cannot test everything, so you count. List the things the tests should touch, find the share that tests have touched, and link each test to the rule it checks.AFTER: Writing test conditions and test cases
  2. 1812 MIN
    How do you know the right answer? Test oraclesA test needs a right answer to compare with. The source of that answer is called an oracle.AFTER: Writing test conditions and test cases
  3. 1912 MIN
    Positive and negative testingTest with the right input to see the normal outcome, then with wrong input to see a safe refusal. The normal route comes first.AFTER: Writing test conditions and test cases
  4. 2012 MIN
    Checklist-based testingA short list of things to check on every screen catches what memory forgets, and costs little to write.AFTER: Writing test conditions and test cases
  5. 2114 MIN
    Equivalence partitioning in depth: when a group is drawn wrongDraw the groups with care. Some groups the software should accept and some it should refuse.AFTER: Equivalence partitioning
  6. 2214 MIN
    Equivalence partitioning with several inputsWith several inputs, you can try each choice once or try every mix. The first is cheap and can miss a bad mix. The second is thorough and grows fast.AFTER: Equivalence partitioning in depth: when a group is drawn wrong
  7. 2314 MIN
    Boundary values: two-value and three-value testingList every ordered group, including refused inputs. Test each boundary and its neighbours, then count each chosen value once.AFTER: Boundary value analysis
  8. 2414 MIN
    Boundaries in dates, lengths, lists and sizesAnything with an order has edges: characters in a title, days on a calendar, tasks in a list, bytes in a file.AFTER: Boundary values: two-value and three-value testing
  9. 2512 MIN
    Decision tables in depth: merging rulesA decision table can grow fast. When one condition makes no difference to the result, fold the rules into one column. Drop the combinations that can never happen.AFTER: Decision table testing
  10. 2612 MIN
    State transition coverage: states, transitions and pathsThere are three ways to say a state model is covered. Visit every state, use every valid move, or try every move in the table, including the forbidden ones.AFTER: State transition testing
  11. 2712 MIN
    Use case testingA use case tells how a person reaches a goal, step by step. Test the usual route first. Then test each detour, such as an error or an option.AFTER: Writing test conditions and test cases
  12. 2812 MIN
    Why combinations explodeEvery new setting multiplies the number of mixes, it does not add to it. Count the mixes before you plan.AFTER: Equivalence partitioning with several inputs
  13. 2914 MIN
    Pairwise testingMost clashes come from two settings meeting, not five. So pick tests until every pair of values has met at least once.AFTER: Why combinations explode
  14. 3012 MIN
    Error guessing in depth: fault attacksError guessing gets sharper when the guesses are written down. Keep a list of the mistakes that software makes, group it, and aim a test at each one.AFTER: Exploratory testing and error guessing
  15. 3112 MIN
    Designing test dataA test is only as good as the data it uses. Build a small set on purpose, with plain values, edge values and odd values, and make it from made-up people, not real ones.AFTER: Equivalence partitioning in depth: when a group is drawn wrong
  16. 3214 MIN
    Testing rules and calculationsMany defects hide in sums. Write the rule down, work the answer out yourself in a different way, and compare.AFTER: Decision tables in depth: merging rules
  17. 3312 MIN
    Finding testable gaps in requirementsRead each requirement as a tester. Ask whether it can be read two ways, whether a test could say pass or fail, and what nobody wrote down. Ask before the code is built.AFTER: Reviews and static testing
  18. 3412 MIN
    Statement coverageRead the code as a list of steps and count how many steps your tests ran. A count of 100 percent means every step ran once. It does not mean every step was checked well.AFTER: From test basis to coverage: how much testing is enough
  19. 3512 MIN
    Cause and effect graphsDraw the causes on the left, the effects on the right and join them with AND, OR and NOT. The picture shows what you forgot. Turn it into a decision table to get the tests.AFTER: Decision tables in depth: merging rules
  20. 3612 MIN
    Testing moves that should not happenA state table lists every state and every event, so the blank cells are the moves that should not happen. Test each blank cell once and check that nothing odd follows.AFTER: State transition coverage: states, transitions and paths
  21. 3712 MIN
    Constraints and must-have tests in combinationsTell the pair table which mixes cannot exist and which one you insist on. Then raise the group size from pairs to threes only where the risk is worth the extra tests.AFTER: Pairwise testing
  22. 3812 MIN
    Classification treesDraw the kinds of input as a tree, with the values at the leaves. Read tests off by picking one leaf from each branch. A table under the tree shows what each test covers.AFTER: Pairwise testing
  23. 3912 MIN
    Domain testingWhen two or more inputs set the limits together, the allowed values form a region. Test the edge of the region with a value on the fence and a value just across it.AFTER: Boundary values: two-value and three-value testing
  24. 4012 MIN
    Branch coverageEvery if in the code has two ways out. Branch coverage counts how many of those ways your tests took. It is a stricter goal than statement coverage.AFTER: Statement coverage
  25. 4112 MIN
    Choosing techniques for a featureNo one technique finds everything. Match each part of a feature to the technique that fits its shape, and write down why. Together they cover what each alone would miss.AFTER: Use case testing
  26. 4214 MIN
    One feature, designed with several techniquesTake one feature from requirement to test list. Use partitions, boundaries, a decision table and a state model, then trim tests that repeat and find the rule nobody tested.AFTER: Choosing techniques for a feature
  27. 4312 MIN
    Reviewing test designThe person who wrote the tests has stopped seeing their mistakes. A second reader asks which rule each test covers, and what is missing or repeated.AFTER: One feature, designed with several techniques
  28. 4412 MIN
    Condition coverage and the idea behind modified condition (MC) and decision coverage (DC), known together as MC/DCA check made of several true-or-false parts hides combinations. Three stricter counts look inside it. This lesson stays at the idea and uses one small check.AFTER: Branch coverage
  29. 4512 MIN
    Reading code as a list of stepsCode is a list of steps with choices and repeats. A tester who can read ten lines can say which test reaches which line, without writing any code.AFTER: Test types: functional, non-functional, black-box and white-box
  30. 4613 MIN
    Scenario testing: credible stories that stress the productA scenario test is a believable story of a person using the product, with a twist that strains it. It finds faults that single-feature tests walk past.AFTER: Use case testing · Acceptance tests from examples
  31. 4713 MIN
    Varying data, sequence, timing and configurationTake a test that passes and change one thing: the data, the order, the timing or the set-up. One test becomes many, and each new test asks a fresh question.AFTER: Designing test data
  32. 4814 MIN
    Test scenarios from activity diagrams and process flowsAn activity diagram draws a process as steps, choices and splits. Tracing every route through it gives a list of test scenarios you can count.AFTER: Use case testing · State transition coverage: states, transitions and paths
  33. 4914 MIN
    Pre-conditions, post-conditions and invariantsThree small rules give a tester oracles for free: what must be true before an action, what must be true after it, and what must always be true.AFTER: Testing rules and calculations · How do you know the right answer? Test oracles
  34. 5014 MIN
    Testing the mixes the product forbidsSome mixes of settings are not allowed. A tester picks one forbidden mix per rule, checks the product says no in clear words, and checks that nothing was half saved.AFTER: Constraints and must-have tests in combinations · Positive and negative testing
  35. 5115 MIN
    Building pair sets with tools and constraintsBy hand you can build a pair set for three settings. For ten settings you give a tool the model and the banned mixes, then check what it returns.AFTER: Pairwise testing · Constraints and must-have tests in combinations
  36. 5215 MIN
    Testing money: whole cents, tax and several currenciesMoney has rules that plain numbers do not: whole cents, one rounding rule, tax on lines or on the total, and a different number of decimals for each currency.AFTER: Testing rules and calculations · Boundaries in dates, lengths, lists and sizes
  37. 5315 MIN
    State tables, N-switch coverage and loopsTesting every single move in a state model is a start. N-switch coverage tests chains of moves, and a loop needs a cap so the count stays finite.AFTER: State transition coverage: states, transitions and paths · Testing moves that should not happen
  38. 5415 MIN
    Cyclomatic complexity and basis path testingCyclomatic complexity counts the independent routes through code. That number tells a tester how many tests a basis set needs and how tangled the code is.AFTER: Branch coverage · Reading code as a list of steps
  39. 5514 MIN
    Approval, golden-master and snapshot testingAn approval test compares a big output with a saved copy. It shows what changed, not whether the old copy was right, so a person must review the first copy and each change.AFTER: How do you know the right answer? Test oracles · Positive and negative testing
  40. 5615 MIN
    Metamorphic testing: checking relations when you cannot know the answerWhen you cannot know the right answer, you can still know how two answers must relate. Metamorphic testing checks that relation after a known change to the input.AFTER: How do you know the right answer? Test oracles · Equivalence partitioning with several inputs
  41. 5718 MIN
    From monkey testing to fuzzing, and shrinking a failing inputFeed a program very many odd inputs and watch for crashes. Then cut a crashing input down to a few characters so the cause is easy to see.AFTER: Error guessing in depth: fault attacks
  42. 301118 MIN
    Data-flow testing and def-use coverageFollow one value from where it is set to every place it is read, and test each pair. It finds bugs that full branch coverage can miss.AFTER: Branch coverage · Condition coverage and the idea behind modified condition (MC) and decision coverage (DC), known together as MC/DC · Cyclomatic complexity and basis path testing
  43. 301216 MIN
    Create, read, update and delete testing: checking the whole life of a recordBuild a grid of records against create, read, update and delete. Test each box, then the moments between boxes and what each role may do.AFTER: Writing test conditions and test cases · State transition testing
  44. 740118 MIN
    Domain testing: the four test points and the two coverage criteriaLearn the four kinds of test point on a border. See how a closed border differs from an open one, and how the two coverage criteria count points.AFTER: Domain testing · Boundary values: two-value and three-value testing · Equivalence partitioning with several inputs
  45. 740218 MIN
    Combinatorial and random testing: base choice, pairwise and random drawsLearn base choice and pairwise coverage, how to cut a long list of values first, and when and why random testing is worth its limits.AFTER: Pairwise testing · Why combinations explode · Classification trees · From monkey testing to fuzzing, and shrinking a failing input
  46. 740318 MIN
    Decision tables: folding rules, reviewing them and the checksumLearn how to fold a full decision table, check it for gaps and overlaps with the checksum, and when not to fold it at all.AFTER: Decision table testing · Decision tables in depth: merging rules
  47. 740418 MIN
    Selecting techniques to reduce product risk: the factors and the combinationsLearn the factors that decide which technique fits a risk, how risk sets the coverage level, and how techniques are combined.AFTER: Choosing techniques for a feature · One feature, designed with several techniques · Risk-based test planning
  48. 740518 MIN
    Models that find defects in a specification, and automating test designLearn how drawing a model of a specification exposes gaps and clashes. See which defects each model shows, and the gains and risks of generating tests.AFTER: State transition testing · Decision tables in depth: merging rules · Finding testable gaps in requirements
  49. 741424 MIN
    Condition coverage counts: N+1, 2 to the power N, short-circuiting and couplingWork out how many tests modified condition/decision and multiple condition testing need, and see how short-circuiting and repeated variables change the plan.AFTER: Condition coverage and the idea behind modified condition (MC) and decision coverage (DC), known together as MC/DC · Branch coverage · Statement coverage
  50. 741524 MIN
    Choosing white-box coverage: safety levels, subsumption and API testingLearn how to pick a white-box technique, how coverage criteria rank, what safety levels ask for, and where interface testing fits.AFTER: Statement coverage · Branch coverage · Condition coverage counts: N+1, 2 to the power N, short-circuiting and coupling
  51. 741626 MIN
    Static analysis: control flow, data flow and maintainabilityFind control flow and data flow anomalies, work out cyclomatic complexity, and propose ways to make code easier to maintain.AFTER: Cyclomatic complexity and basis path testing · Data-flow testing and def-use coverage · Reading code as a list of steps