rea-tool-design
MOmorluto/rea486k近 7 天新增 8,943 个 star
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof
Load when performing peer review of acceptance tests (during *handoff-develop).
Pattern: Only successful scenarios, error paths missing.
Detection: compare promised distinguishable failure/recovery outcomes with actual falsifiers. No universal error-scenario percentage; missing a promised decline/timeout/refusal/preservation outcome is the defect.
Severity: blocker (production error handling untested).
Verify admitted context, business stimulus and observable outcome/falsifier. Given-When-Then is useful vocabulary, not mandatory Gherkin syntax or a required framework. Stateful journeys may involve multiple operations when the transition contract needs them. Severity follows a concrete ambiguous or absent observation.
Pattern: Incidental implementation choices replace business observations. Flag private classes, representations or plumbing asserted without a deliberate contract. Native business helpers hide technical drivers where helpful. HTTP/JSON/storage terms are valid when they are the user's actual public protocol or promised domain, not merely forbidden words. Severity: high for real coupling that prevents an equivalent implementation.
Pattern: User stories lack acceptance test coverage.
Validation: Map each story to scenarios | Verify all AC have corresponding tests | Confirm edge cases and boundaries tested.
Severity: blocker (unverified requirements).
Pattern: Walking skeletons describe technical layer connectivity instead of user value.
Detection litmus test for @walking_skeleton scenarios:
Violations: "End-to-end order flow through all layers" (technical framing) | Then "order row inserted in database" (internal side effects) | Given "database contains user record" instead of "customer has an account"
Severity: high (skeletons that only prove wiring miss the point -- first skeleton should be demo-able to stakeholder).
Pattern: Tests address secondary concerns while larger gaps exist.
Questions: 1. Is this the largest bottleneck? (timing data or gap analysis) | 2. Simpler alternatives considered? | 3. Constraint prioritization correct? | 4. Test design decisions data-justified?
Severity: blocker if wrong problem addressed, high if no measurement data.
Pattern: Tests assert internal state or method calls instead of observable behavior.
For EVERY Then step in EVERY scenario, apply this mechanical checklist:
Concrete violations to flag:
assert mock_repo.save.called — asserts method call, not observable outcomeassert len(db.query(Order).all()) == 1 — asserts internal DB stateassert obj._internal_field == "value" — asserts private stateassert os.path.exists("output.json") — asserts file existence (implementation detail)Concrete passing assertions:
assert result.is_confirmed() — observable business outcomeassert result.order_number is not None — return value from driving portassert "confirmation" in customer_notification.subject — observable user outcomeRelationship to Dim 5 (Walking Skeleton User-Centricity):
Severity: high (tests coupled to implementation break on refactoring).
Pattern: Scenarios exist without traceability to upstream wave artifacts.
Map the original agreed value and authorized scope amendments to selected
criteria, native tests/properties and falsifiers per nw-at-completeness-check.
Use actual configured authority destinations and bound headings, not hardcoded
story/environment filenames, tags or guessed defaults. Environments matter
only when selected authority promises a distinguishable observation there.
Do not infer missing coverage from absent tags; inspect the actual behavior.
What this dimension does NOT cover:
Severity: blocker for Check A (untraceable requirements), high for Check B (untested environments).
For each finding supply:
| Fact | Content |
|---|---|
| Location | Supplied test identity, file:line or missing-obligation locator |
| Obligation | Promised outcome, criterion, boundary or test-budget obligation |
| Observation | Concrete evidence, critique dimension and severity; distinguish measured facts from uncertainty |
| Remediation | Actionable correction preserving the agreed value |
| Owner | Oracle, design, implementation or product, within the selected review scope |
For a timing finding, cite the supplied receipt and its n, median, maximum and load, plus the applicable cap/ADR. Missing measurements stay explicit; the review does not run native tests. Include each independently actionable coverage, boundary, scenario or infrastructure defect instead of hiding it behind another.
Summarize the judgment, supporting observations and capability or evidence limits. Acceptance requires sufficient evidence; uncertainty is not a passing observation. Leave the assessed artifact unchanged and return plain findings.
The acceptance-designer-reviewer (Sentinel) owns Dimensions 1-10 during DISTILL.
Responsibilities that belong to OTHER reviewers (do NOT evaluate these):
If a finding touches KPI measurement or infrastructure readiness, tag it @escalate:{reviewer} in the review output and move on. Do NOT attempt to evaluate it.
For walking skeleton scenarios, validate that the WS actually proves adapter wiring with real I/O.
Does the WS implementation match the port-class defaults from the Architecture of Reference (nw-distill-port-treatment-policy)?
Require real I/O integration for the promised adapter boundary/law when a fake cannot distinguish it. Do not demand a separate test for every adapter merely by inventory count; reuse adequate real observations.
Walking skeleton fixtures — what adapter tier do they use?
Grep for @in-memory on walking skeleton scenarios that exercise a driven-internal/local-resource port.
Measure every test in the reviewed oracle with native per-test timing over at least nine sequential runs and judge it on the median, two or more runs over the budget on the same test also being a finding (test:feedback-loop-budget in nw-cross-cutting-invariants). Reject any test above the default budgets in a feature without a granted derogation or above its feature's derogation, any infrastructure test in a feature without one, any pure sad path placed in the infrastructure suite, and any formal law without a fast executable projection in the default suite. Reviewers never grant a derogation.
MOmorluto/rea486k近 7 天新增 8,943 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 3,225 个 star
NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 3,225 个 star
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star