SoftwareTestPilot

Beginner · Certificate included

Test Design Techniques — Complete Basics

8 practical lessons in about 45 minutes: equivalence partitioning, boundary values, decision tables, state transitions, pairwise, use cases, error guessing and choosing the right technique.

8 lessons45 minCertificate+90 points
01

Lesson 1 of 85 min read

Why test design techniques matter

You can never test every input. Techniques help you pick the few tests that find the most bugs.

Key takeaways

  1. 1Exhaustive testing is impossible: an age field alone has thousands of possible values.
  2. 2Black-box techniques design tests from requirements, without reading code.
  3. 3Techniques make your coverage explainable: you can say why these tests and not others.

Real example

A discount field accepts 1–50%. Instead of testing all 50 values (plus wrong ones), techniques reduce it to about 6 tests: 0, 1, 25, 50, 51 and 'abc'. Same bug-finding power, a fraction of the effort.

Go deeper

Expert notes beyond the basics

4 topics
  1. 01

    Coverage you can defend in a review

    When a lead asks 'why only these 6 tests out of thousands of possible inputs', the honest answer should never be 'I guessed'. Techniques give you a name and a reason for each test: this one covers the invalid-low partition, this one covers the upper boundary, this one covers a specific condition combination. In a test case review or an interview, being able to say 'I used equivalence partitioning plus boundary value analysis for this field' signals discipline that random ad-hoc testing never does.

  2. 02

    Techniques reduce bias, not just test count

    Without a technique, testers unconsciously repeat the same style of input they already tried, often all valid, all mid-range values. Equivalence partitioning forces you to name the invalid groups too; decision tables force you to notice condition combinations you would have skipped. The real benefit is structure that counteracts your own blind spots, not just a smaller number of tests.

  3. 03

    Techniques scale across the SDLC

    The same techniques work for manual test cases, automated test design and even API or database test design. A boundary value test for a UI age field and a boundary value test for a REST API's 'quantity' parameter use identical thinking. Learning techniques once means you can apply them to any new feature, any new interface, without relearning a new approach each time.

  4. 04

    Where techniques fit with risk-based testing

    Techniques tell you how to design tests for one requirement; risk-based testing tells you where to spend the most effort across many requirements. A high-risk field (payment amount) deserves full boundary value analysis plus decision tables for business rules. A low-risk cosmetic field might only need one or two equivalence classes. Combining 'how much effort' (risk) with 'how to design it' (technique) is what experienced testers actually do.

Common mistakes to avoid

  • - Treating test design techniques as academic theory that only matters for exams, then testing randomly on the job.
  • - Applying one technique everywhere, for example boundary value analysis on a dropdown with fixed options where it adds no value.
  • - Designing a large number of tests without checking if several of them actually exercise the same code path.
  • - Skipping technique-based design under time pressure and relying only on the happy path, which is exactly when technique-based tests matter most.

Try it yourself

A requirement says: 'The quantity field in a shopping cart accepts whole numbers from 1 to 99.' List which test design techniques you would apply and briefly say why.

Write your answer on paper or in a sheet first, then compare.

Interview questions

How to answer like a confident QA engineer

4 questions
  1. Q1

    Why do we need test design techniques?

    Model answer

    Because exhaustive testing isn't possible. Techniques like equivalence partitioning and boundary value analysis let me choose a small set of high-value tests, reduce duplication and show clear, justified coverage.

  2. Q2

    How do test design techniques help with regression suites?

    Model answer

    They keep the regression suite lean. Instead of keeping every ad-hoc test ever written, I can justify which tests to keep by the partition, boundary or rule they represent, and safely remove duplicates that cover the same equivalence class or combination.

  3. Q3

    Are test design techniques only for manual testers?

    Model answer

    No. Automation engineers use the same techniques to decide what test data and assertions to code. A well-designed automated test suite still relies on equivalence partitioning and boundary value analysis to choose which values are worth automating.

  4. Q4

    How do you decide which technique to use for a given requirement?

    Model answer

    I look at the shape of the requirement: a single input range suggests equivalence partitioning and boundary values; multiple conditions affecting one outcome suggest a decision table; a sequence of states suggests state transition testing; many independent settings suggest pairwise.

Knowledge check

+5 points

What is the main goal of test design techniques?

Student reviews

–

Loading…

– enrolled

  • 0%
  • 0%
  • 0%
  • 0%
  • 0%

Sign in and complete 20% of the course to leave a review.

Loading reviews…