Equivalence and Boundary Testing
Cut many inputs into a few smart groups and test the edges with care.
What you'll learn
- Split inputs into useful groups.
- Pick edge values with care.
- Cover more with fewer tests.
Manual QAlessonsJump to another lesson
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.
Read the rule
Find the valid range.
Group inputs
Put similar values together.
Pick edges
Choose the boundary values.
Test
Run the smart cases.
Step By Step
This is the same idea, stretched across time.
- 1
Range found
The tester reads the rule.
- 2
Groups made
Similar values are put together.
- 3
Edges picked
The tester chooses boundary values.
- 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 fieldsQuick Check
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
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