For teams that want to know why each test exists

Test techniques

Test techniques are the methods testers use to decide which tests to run. Our engineers combine black-box, white-box and experience-based techniques so the tests cover what matters with as few cases as possible.

€20-45Per hour
First 2 weeksComplimentary on ongoing work if not happy
50+QA engineers
2018Founded

Three families of test techniques

  • Black-boxFrom the requirements
  • White-boxFrom the code
  • Experience-basedFrom the tester's knowledge
  • CombinedHow most projects work
// short answer

Short answer

Test techniques fall into three families: black-box techniques that work from the requirements (equivalence partitioning, boundary value analysis, decision tables, state transitions, use cases), white-box techniques that work from the code (statement and branch coverage), and experience-based techniques (error guessing, exploratory testing, checklists).

Most projects combine all three. Worked examples are in our test cases guide.

// overview

Overview

Some test techniques suit specific situations and test levels; others apply to every test level. When creating test cases, testers generally combine several techniques to get the best results from the test effort.

The use of test techniques in test analysis, design and implementation can range from very informal to very formal. The right level of formality depends on the context: process maturity, time constraints, regulatory requirements and team skills.

// types

Types of test techniques

Black-box

Behavioral testing. Based on the test basis, looking at inputs and outputs without reference to internal structure. Applies to functional and non-functional testing.

  • Equivalence partitioning
  • Boundary value analysis
  • Decision table testing
  • State transition testing
  • Use case testing

White-box

Structural testing. Based on the architecture, detailed design, internal structure or code. Looks at structure and processing inside the test object.

  • Statement testing
  • Statement coverage
  • Branch testing
  • Branch coverage

Experience-based

Expertise-driven testing. Draws on the experience of developers, testers and users to find tests systematic techniques miss. Coverage depends on the tester.

  • Error guessing
  • Exploratory testing
  • Checklist-based testing

Collaboration-based approaches. The syllabus treats these next to the three families. They aim at avoiding defects as well as finding them: testers, developers and business people write user stories together, agree acceptance criteria, and derive tests from them with acceptance test-driven development (ATDD).

// in practice

The black-box techniques in one line each

TechniqueWhat it doesExample
Equivalence partitioningSplits inputs into groups the software should treat the same way, and tests one value from each group.Ages 0-17, 18-64 and 65+ get one test each, plus tests for invalid input such as -1 or text
Boundary value analysisTests the values at and either side of each boundary, where off-by-one defects live.17, 18 and 19 for an adult-only rule
Decision table testingLists every combination of conditions and the action each one should trigger.Discount rules for member, coupon and order size
State transition testingTests the moves between states, including the ones that should be refused.An order going from paid back to draft
Use case testingWalks through a user's goal from start to finish, including the alternative and error paths.Checkout with an expired card
// formality

Formality depends on

The appropriate level of formality when applying test techniques depends on the testing context:

  • Maturity of the test and development processes
  • Time constraints and project deadlines
  • Safety or regulatory requirements
  • Knowledge and skills of the team
  • The software development life cycle model
  • Project goals and quality objectives

Source: ISTQB CTFL Syllabus v4.0.1. White-box coverage is explained on our structural testing page.

// how we work

How BetterQA does test design

We pick the techniques that fit your product and your risks, and can note on each test case which technique produced it, so you can see why it exists.

Engineers who test for a living

50+ QA engineers, working since 2018. People choose the techniques, write the test cases and report what the results mean for your release.

Bugs you can act on

Every defect we find is written up in BugBoard, our own test management tool, or in your tracker, with steps to reproduce, the expected and actual result, and the environment.

A certified process

ISO 9001 for quality management and ISO 27001:2022 for information security. See our certifications.

How an engagement works

  • €20-45 per hour
  • First month is a trial
  • First two weeks complimentary if you are not happy
  • 30 days' notice after that
A BetterQA engineer typing on a laptop at the shared meeting table while colleagues talk
// questions

Test techniques: common questions

What are test techniques?

The methods testers use to decide which tests to run and with which data, so coverage is planned rather than left to chance.

What are the types of test techniques?

Three families: black-box (from the requirements), white-box (from the code) and experience-based (from the tester's knowledge).

What is equivalence partitioning?

A black-box technique that splits inputs into groups the software should treat the same way and tests one value from each group.

What are experience-based test techniques?

Error guessing, exploratory testing and checklist-based testing. They rely on what testers, developers and users know about where software tends to fail.

Which test technique is best?

None on its own. Most projects combine black-box, white-box and experience-based techniques, weighted by risk.

What does it cost?

Our rate is €20-45 per hour. For ongoing work, these terms apply. The first month is a trial. If you stop within it because you are not happy, you pay nothing for the first two weeks. After the first month, either side can end with 30 days' notice.

What are collaboration-based test approaches?

ISTQB CTFL 4.5 describes them as collaborative user story writing, acceptance criteria and acceptance test-driven development (ATDD). Testers, developers and business representatives agree what correct looks like before coding starts, so defects are avoided as well as found, and the acceptance criteria and examples become test cases.

Need testing expertise?

Send us a feature and its requirements. We will show you which techniques we would use on it, and the test cases they produce.