Equivalence and Boundary Testing

Cut many inputs into a few smart groups and test the edges with care.

Manual QA Module 4 Lesson 1
10 min read

What you'll learn

  • Split inputs into useful groups.
  • Pick edge values with care.
  • Cover more with fewer tests.

Equivalence and Boundary Testing

Cut many inputs into a few smart groups and test the edges with care.

Big Picture

One small picture can make this idea easier to hold.

Middle value

  • Looks normal.
  • Often behaves the same.
  • Good for one sample.
  • Not a stress point.

Boundary value

  • Near the edge.
  • Often breaks first.
  • Very important to test.
  • Can show off-by-one bugs.

VerdictBoundary values are where many bugs hide.

How It Moves

Short steps make the flow easier to see.

1

Read the rule

Find the valid range.

Group inputs

Put similar values together.

3

Pick edges

Choose the boundary values.

4

Test

Run the smart cases.

Step By Step

This is the same idea, stretched across time.

  1. 1

    Range found

    The tester reads the rule.

  2. 2

    Groups made

    Similar values are put together.

  3. 3

    Edges picked

    The tester chooses boundary values.

  4. 4

    Checks run

    The team sees if the edges behave well.

One Small Model

Think of this like a tiny card you can keep in your pocket.

Input box

5 fields
Range:"1 to 100"
Valid middle:"50"
Lower edge:"1"
Upper edge:"100"
Outside:"0 and 101"
A few smart values can cover a lot.

Quick Check

Question 1 of 10 correct

Which input is a boundary value for 1 to 100?

Map It

One more picture helps you see where this lesson matters most.

Risk vs input position

Bug risk
High

Middle, low risk

50 in a 1 to 100 range

Edge, low risk

Near a safe limit

Middle, high risk

Rare rule inside the range

Edge, high risk

0 or 101

Low
MiddleEdge
Input position
The edge is where you look first.

Final Quiz

Question 1 of 30 correct

What is an equivalence class?