From the specification to user value
A specification is an assumption about what will solve the user's problem, so QA checks two levels. Verification asks whether the product matches the requirements, validation whether the requirements give the user what they need. To do this, read the user story, especially the "so that" part, and make acceptance criteria testable in Given/When/Then form, with numbers instead of "fast". Value is confirmed by metrics after release.
Product Engineering · Product thinking
Every case in the spec is green, yet users do not notice the feature. What was missing?
A "Save filter" button was added to the catalogue. The specification described it in one sentence, the test cases passed and the release shipped. A month later it turned out the button hides under a long filter list on phones, and nothing changes on screen after saving, so half of the people press it twice and cannot tell whether it worked. Formally everything was built "to the spec". This lesson is about checking not only "is it built right?" but also "is it the right thing?", and about reading user stories and acceptance criteria for that.
How it works and why. A specification is an assumption about what will solve the user's problem. It can be wrong, incomplete or self-contradictory, and testing against the spec alone will not show that. So there are two questions. Verification: does the product match the requirements? Validation: do the requirements give the user what they were written for? The first is checked by test cases, the second by questions to the team before development, trials with people and metrics after release. A QA who thinks in product terms works on both levels, which also tells them where the idea can still be changed cheaply and where only the implementation can be fixed.
It helps to keep the chain from problem to check in view, because every link gives QA a question to ask:
From the problem to the check
A user story records a need: "As a role, I want action, so that result". The "so that" part matters most to QA: it shows the goal, so you can judge whether the implementation leads to it. The quality of a story is quickly assessed with INVEST: Independent, Negotiable, Valuable, Estimable, Small, Testable. If a story cannot be tested, it is not ready for development.
Acceptance criteria make the story checkable. A handy format is Given / When / Then: the initial state, the action or event, the observable result. One scenario is one behaviour.
Example: from a vague criterion to a checkable one. Before: "The user can save filters. It works fast and is convenient". No test case can be written from that: what is "convenient", how many filters can be saved, what happens with an empty name? After a talk with the PM the criteria became:
Scenario: saving a filter
Given a signed-in user has applied the filter "Price up to 500"
When they click "Save" and enter the name "Budget"
Then the filter appears in the "My filters" list
And it is still there after the page is reloaded
Scenario: empty name
Given the save-filter dialog is open
When the user leaves the name empty
Then "Save" is disabled and a hint explains why
Scenario: filter limit
Given the user already has 20 saved filters
When they try to save one more
Then they see a limit message, not a server error
Three moves are at work here. First, every criterion has an observable result ("appears in the list"), not a judgement ("convenient"). Second, negative limits appeared (empty name, the limit) that the original text lacked. Third, the question "how many filters can be saved?" was asked before development, so the answer cost a conversation, not a rework. The need for a number and conditions applies to non-functional requirements too: "search responds within 1 s for 95% of requests on a catalogue of 10,000 products" can be verified, "works fast" cannot.
The same criterion written two ways
"Works fast and is convenient"
No result that can be observed. Everyone will say pass or fail by their own impression.
Given / When / Then
The initial state, the action and the result are named. Negative limits sit in separate scenarios.
Questions for the PM worth asking before development starts: what problem are we solving and for whom? How will we know it worked (which metric)? What is out of scope for this release? What should happen if the service is down or the data is empty? What are the constraints: platforms, countries, legislation, accessibility?
Limits and alternatives. Given/When/Then is not needed for every detail: the rule "password of 8+ characters" is simpler as a table of values. There is a reverse trap too: scenarios that describe clicks ("presses the blue button in the right corner") break with every redesign. Describe behaviour, not the interface. Criteria cover the expected path and known limits, so QA adds their own negative and boundary cases. And even perfect criteria do not prove value: whether people use the feature and whether it helps is visible only in metrics after release. QA does not promise that in advance, but can check that the event it can be measured by is actually sent (see the lesson on analytics events).
Common mistakes.
- Testing only what is written: a perfect implementation of a wrong requirement passes every case.
- Accepting a criterion like "works fast" or "intuitive" without a number and conditions: the result cannot be checked and causes arguments.
- Writing scenarios as a sequence of clicks: the test falls apart at the first layout change.
- Not asking "what is out of scope for this release?": the team and the PM hold different ideas of the scope, and the gap surfaces at acceptance.
- Skipping the "so that" part of a story: without the goal you cannot judge whether the implementation leads to it.
Check yourself
A criterion says: "The user quickly finds a product by name". What is wrong and how would you rewrite it?
Answer
It has no number, no conditions and no observable result, so two people will disagree on whether it is met. Example: "When the user types the name of an existing product into search on a catalogue of 10,000 items, the product is among the first three results and the response arrives within 1 s for 95% of requests".
Every acceptance criterion of a story is met, yet after release almost nobody uses the feature. What does it say about "built right" and "built the right thing"?
Answer
The first level (verification) is passed: the implementation matches the requirements. The second (validation) is not confirmed: the requirements may not have matched the user problem. It shows only in metrics and research after release, so the problem, the goal and the way to measure it must be clarified before development starts.