Requirements
Which promise must never be violated, even in the case of errors?
First, we define business guarantees and verifiable targets. In the technical test cases, V-16 denotes an older verification attempt that has already been superseded. Provider waiting time and our system’s response time are measured separately.
Starting point The boundary from step 1 requires a specific, valid and correctly assigned decision.
Assumptions for the example case
Example design: an operator, a verification provider and a specified purpose of use. Identity and other evidence shall be assessed separately. Login, sessions, and rights across multiple applications are not part of this case. Figures and target values are design assumptions; no real people are checked.
Examine the business rule and the quality objective separately
I-17 · Function, rule and goal have their own test points
- System performance
- Domain protection rule
- Measurable operational target
Correct assignment and short processing time are verified independently.
Business requirements and rules (functional)
Further reading
| Requirement | Behaviour in the example | Evidence |
|---|---|---|
| Clear allocation of tasks | Person, operator and purpose are bound on the server side. | Third-party order ID does not provide any data. |
| Applying Results Reliably | Only authenticated, assigned feedback affects the status. | Manipulated message and browser redirect do not change a decision. |
| Duplicate delivery | A response has a domain effect at most once. | Send the same event several times; decision remains unchanged. |
| Continue open cases | Requests for more evidence and manual review have an owner and a deadline. | A hanging case appears in the work list. |
| Respect validity | Expired or revoked decisions do not serve the purpose. | Check time limit and revocation immediately before use. |
Clear allocation of tasks
- Behaviour in the example
- Person, operator and purpose are bound on the server side.
- Evidence
- Third-party order ID does not provide any data.
Applying Results Reliably
- Behaviour in the example
- Only authenticated, assigned feedback affects the status.
- Evidence
- Manipulated message and browser redirect do not change a decision.
Duplicate delivery
- Behaviour in the example
- A response has a domain effect at most once.
- Evidence
- Send the same event several times; decision remains unchanged.
Continue open cases
- Behaviour in the example
- Requests for more evidence and manual review have an owner and a deadline.
- Evidence
- A hanging case appears in the work list.
Respect validity
- Behaviour in the example
- Expired or revoked decisions do not serve the purpose.
- Evidence
- Check time limit and revocation immediately before use.
Quality goals and their validation (non-functional)
Further reading
- Own status query
- 95 % of responses below 500 ms at the assumed load. This is a target value to be tested, including database access.
- Durably accepted response
- Target: apply 95% of valid events to the domain state within 30 seconds. Provider verification and human casework have separate duration metrics.
- Traceability
- Each decision records the evidence used, rule version, timestamp and reason code. The interface turns reason codes into an understandable next action.
Terms in this step
- Invariant
- A domain condition that must be maintained even in the event of errors, repetitions and parallel changes.
Try it yourself
Formulate an invariant and a measurable quality goal for I-17. Give each a negative test.
A hint for your attempt
An invariant describes a business rule without a percentage value. A quality objective specifies the measured variable, the target value and the measurement conditions.
Compare with a possible solution
- Invariant
- Only the authenticated, current attempt for P-17 may create D-17 for Z-3. Test with another person, the old attempt V-16, a duplicate and an invalid signature; expect 0 domain effects and an unchanged I-17.
- Quality objective
- Below the assumed peak load of 200 orders per hour (≈ 0.056 / s), at least 95% of the status responses remain below 500 ms. A load test measures the response time including SQL access; timeout, another person’s ID and database errors are negative cases and do not generate a release.
Apply to your project
What rule does your system always need to protect, and what operational goal do you want to measure?