← Files Software & AI CopilotARCHIVED FILE
references/testing-and-evidence.md
861 Bytes · Nov 29, 2026 · 00:39 UTC
# Risk-based verification Pick tests for changed behavior, not an arbitrary unit/integration/E2E quota. - Unit: deterministic transforms, validation, edge cases. - Integration: database, HTTP client, model/tool adapter, filesystem, queue. - Contract: API/event/schema/serialized output consumers. - E2E: critical user workflow only where system boundaries matter. - Regression: one focused test that would have exposed the specific defect. Include negative paths: empty/invalid input, auth denial, timeout, retry, partial failure, duplicates, race conditions, overflow or data-loss scenarios as relevant. Record executed command, exit status, scope, and failing/passing test counts from actual output. If tools aren't available, provide commands as **suggested**, not completed. Avoid giant unreviewable snapshots or mocked tests that cannot fail usefully.
SHA-256: 546dfb7d846c3ff614fed090cca2af24242bc13d962218be465409b338151ddb