1.Why should I care?
Most failed projects don't fail because the maths was wrong; they fail because nobody agreed what 'working' meant. A testable requirement turns an argument about opinions into a measurement anyone can repeat.
- ◇ Write requirements that state what, how much (with a unit) and under what conditions.
- ◇ Separate requirements from preferences and from solutions in disguise.
- ◇ Rewrite a vague statement into one with a clear pass or fail test.
2.Discover
Sort every statement in the recycling-gripper brief as testable, vague, preference or solution in disguise, then check. For each vague one, write a testable rewrite on paper before moving on.
Loading the interactive…
Can't use the interactive? Read a description instead
The requirements checker lists statements from a client brief. For each one you choose testable requirement, vague, preference or solution in disguise, then press check: each answer is marked with an explanation, for example 'The gripper should be really strong' is vague because it gives no load or test.
3.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
Which statement is testable?
4.Predict
Which of these is a testable requirement for a recycling-line gripper?
Guess first. Being wrong here is how the surprise works.
5.Understand
Three parts of a testable requirement
A good requirement says what the system must do, how much (a number with a unit) and under what conditions (load, speed, temperature, number of trials). 'The gripper must close within 0.5 s of the command, in each of 10 trials' has all three. Use must for non-negotiables and should for strong wishes.
Preferences and disguised solutions
A preference ('blue would be nice') is worth recording but nobody fails if it is missed. A solution in disguise ('must use rubber pads') jumps to a design before stating the need. Ask 'why?': the answer ('must not slip on a wet bottle') is the real requirement, and rubber becomes one option among several.
Fixing a vague requirement
Words like strong, fast, easy, safe and reliable need numbers. Ask: strong enough for what load? Fast compared with what time? Easy for whom, doing what, in how long? 'Easy to use' might become 'a new operator sets it up in under 5 minutes using only the README'.
Explain it another way
A good requirement is like the rules of a race: everyone knows where the finish line is before they start running.
Requirements should be necessary, unambiguous, verifiable, feasible and traceable. Each states a measurable criterion and its acceptance condition, independent of the design that meets it.
Space agencies and car makers keep thousands of numbered requirements, each with a planned test. Changing one means re-checking everything that depends on it.
Worked example 1
Rewrite: 'The robot must be fast.'
'The robot must cross the 2 m test track in under 8 s, averaged over 5 runs, on the standard floor.' Now there is a number, a unit and a condition.
Worked example 2
Rewrite: 'The sorter must use a colour camera.'
Ask why: to tell red parts from blue. Requirement: 'The sorter must place at least 95% of 200 mixed red and blue parts in the correct bin.' A camera, a colour sensor or something cleverer could meet it.
Common mix-ups
- Requirements should describe the design so the builder knows what to make.
✓ Requirements describe what the design must achieve. Naming the design too early throws away better ideas. - Adding 'very' or 'highly' makes a requirement clearer.
✓ Only a number, a unit and a condition make it clearer.
6.Watch
→ Notice where criteria and constraints appear in the loop: before any idea is chosen.
A short overview of the design loop, from defining the problem and its criteria to testing and improving.
Length: see YouTube · captions on YouTube · source
Nothing loads from YouTube until you press play.
The video is optional: everything you need is also in the lesson text and the interactive.
7.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
'The greenhouse must use a fan.' What kind of statement is this?
Practice 3
'The gripper must hold 300 g.' What is missing that could cause an argument later?
Practice 4
Which should be written as 'must'?
8.Apply it
Write five requirements for your capstone machine: at least three testable musts, one should and one could. For each must, write the test you will run in simulation to check it.
9.Reflect
Concepts: Constraints, budgets and trade-offs · The design cycle and prototyping