feat(workflows): enforce research checkpoints across development phases
This commit is contained in:
1 parent
fe7a4d7a25
commit
3586245408
12 files changed
+19
-10
No files matched your search
@@ -10,11 +10,11 @@ Use when verifying behavior across a real application boundary, such as an API a
|
||||
## Workflow
|
||||
|
||||
1. Name the boundary under test and the production path the test must exercise. Keep unit-level details covered by unit tests.
|
||||
2. Reuse the repository's integration-test setup. Start only the services and data stores required for this behavior.
|
||||
2. Reuse the repository's integration-test setup. Before relying on external service, driver, or test-framework behavior, MUST apply the implementation checkpoint in `technical-research`. Start only the services and data stores required for this behavior.
|
||||
3. Prepare minimal isolated data and control external inputs. Prevent test runs from touching user data, shared environments, or live services.
|
||||
4. Cover a successful interaction and the failure or rejection path that matters to the change. Include transaction, retry, or cleanup behavior only when it is part of the contract.
|
||||
5. Assert persisted or externally observable outcomes, including relevant status, response, and side effects.
|
||||
6. Clean up created resources even when assertions fail. Make repeated runs safe and independent.
|
||||
7. Run the focused integration test and report required services, results, and any unavailable environment.
|
||||
7. Run the focused integration test and report required services, results, and any unavailable environment. MUST apply the verification checkpoint in `technical-research` to external contract claims; a mock or documentation excerpt cannot prove the real boundary works.
|
||||
|
||||
Avoid turning an integration test into a full end-to-end suite when a narrower boundary proves the contract.
|
||||
Reference in new issue
Block a user