Fixed-scope software contracts have a familiar ending. The vendor says the feature is done. The buyer says it doesn’t do what they meant. Both point at the same sentence in the specification, and both are reading it correctly, because the sentence allows both readings.
The fix isn’t a longer contract or a stricter change-request process. It’s writing the specification so that both sides can test it, and agreeing those tests before anyone builds anything.
Where the fights start
Disputes almost always trace back to criteria like these:
| As usually written | Why it causes a fight |
|---|---|
| Alerts should be raised quickly. | Quickly for whom? Measured from when? |
| The dashboard must be user-friendly. | There is no test anyone can run. |
| Users can export reports. | Which reports, in what format, with how many rows? |
| The system handles invalid input gracefully. | Which inputs, and what happens to each one? |
None of these is wrong as a wish. The problem is that each one is settled by opinion at the end, when the money is spent and opinions are least generous.
What a testable criterion looks like
A testable acceptance criterion names who acts, the starting state, the action and an observable result. The Given/When/Then format makes those parts hard to skip. Here is one from GridPulse, a grid-operations platform we specified:
Raise immediate Suspected alert at transformer level
- Given
- a transformer with 40 meters and no open incident
- When
- the 3rd distinct meter sends a last-gasp within a 60 s window
- Then
- a Suspected incident is created and published to the console at that moment
There is nothing left to argue about. Two meters: no alert. Three meters within 60 seconds: alert. A last-gasp at 61 seconds doesn’t count. The boundary tests check exactly those edges.
Where the numbers come from
Numbers like “3 meters, 20%, 60 seconds” don’t come from the writer’s imagination. They come from asking the people who own the problem. In GridPulse’s discovery phase, one of the questions put to the business was:
How should a suspected outage be inferred from individual meter last-gasps and feeder sensor losses? For example, how many meters, or what share, must report within what window?
The answer gave the thresholds, the escalation to a feeder-level incident when two or more transformers are affected, and the rule that a single meter’s last-gasp is logged as a low-priority customer event rather than an outage. All of it went into the requirement, the story and the tests. GridPulse’s discovery asked 24 questions like this across two rounds, before a single story was written.
The principle: when a criterion needs a number and nobody has one, that is a question for the business, not a decision for the developer.
Six rules we write by
- One observable result per criterion. If you need “and” to describe the outcome, it is two criteria.
- Numbers instead of adjectives. Latency, limits, counts, sizes, formats.
- Error and boundary cases are criteria too. What happens just below, at and above each limit, and on bad input.
- Every criterion names its requirement, and every requirement names the business objective it serves.
- Exclusions are written down. GridPulse’s scope lists 12 things the pilot will not do, each with a reason. What is not promised can’t be disputed later.
- The test plan is written from the criteria before any code. GridPulse’s acceptance test plan has 592 test cases, derived from 329 stories that average 4.2 acceptance criteria each.
How this settles disputes
With a specification like this, “done” has a definition both sides signed: the agreed tests pass against the deployed build. If they pass and the business now wants something different, that is a change, and it is visible as one. Nobody has to argue about what the original sentence meant.
Changes stop being fights too. Because every criterion is linked to its requirement, screens and tests, a proposed change comes with a list of exactly what it affects. You decide with the impact in front of you, and only the affected work is redone.
One honest limit: tests are only as specific as the criteria they come from. Vague criteria produce vague tests, which is why we push hard for concrete criteria during the specification and flag the vague ones before sign-off.
Whoever builds it
A specification written this way works with any build team: yours, ours or another vendor’s. Our build-ready specification service produces exactly this: a requirements catalog, stories with testable criteria, screens, architecture and test plans, all linked, and publishable straight into your JIRA. If a vendor is building, it gives you something precise enough to hold them to.