Requirements
Which business rule protects the change order, and how is the agreed limit tested?
The case boundary defines business rules and measurable targets. The central invariant for change order N-32 is that approval applies to the exact drawing revision, scope of work and cost revision. Every business change creates a new version requiring review. An invariant must hold after every completed operation. Quality targets describe measurable operational behaviour.
Starting point Approval binds an immutable scope of work.
Assumptions for the example case
Original fictional design: an internal approval workflow for a change order with frozen drawings and costs. The illustrative internal threshold is 500000 cents. Up to and including this amount, one approver is sufficient; above it, this case requires a second approver. All figures and test targets are illustrative assumptions.
Business guarantee and measurable limit
Guarantee and validation gates
Approval binds the drawing revision, scope of work and cost revision.
Business requirements (functional)
Further reading
- Durable commitment
- Approval applies to the exact drawing revision, scope of work and cost revision. Every business change creates a new version requiring review.
- Evidence and closure
- Construction management confirms documented implementation of the approved scope.
- Domain boundary rule
- The illustrative internal review threshold is 500000 cents. Up to and including this amount, one approver is sufficient; above it, this case requires a second approver.
Operational goals (non-functional)
Further reading
- Local processing
- Illustrative target: 95% of local commands complete in under 800 milliseconds during a 15-minute profile at 4 commands/s. External processing and human waiting time are measured separately.
- Traceable processing
- The test profile records the authoritative version and processing delay of document and notification processing. After a restart, every accepted change to N-32 must be traceable through its stored result.
The cost threshold explicitly defines equality
The cost threshold explicitly defines equality.
Approval applies to the exact drawing revision, scope of work and cost revision. Every business change creates a new version requiring review.
The illustrative internal review threshold is 500000 cents. Up to and including this amount, one approver is sufficient; above it, this case requires a second approver. The exercise specifies the input and expected result.
- Alternative considered
- A response-time target alone leaves invalid business states unchecked.
- Trade-off
- Strict validation can pause an operation for investigation.
- Reassess
- Measured processing times or new drawing-archive contracts require a review of the targets.
Try it yourself
Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.
A hint for your attempt
Completing an operation quickly but incorrectly does not satisfy the business guarantee.
Compare with a possible solution
- Business rule
- Approval applies to the exact drawing revision, scope of work and cost revision. Every business change creates a new version requiring review. The counterexample test checks that the resulting state is allowed.
- Operations and boundary
- The 800-millisecond target applies to 95% of local commands in the assumed peak profile. The illustrative internal threshold is 500000 cents: one approver is sufficient up to and including this amount; above it, this case requires a second.
Apply to your project
Which rule of your project remains binding even with slow processing?