12 lines
1.1 KiB
Markdown
12 lines
1.1 KiB
Markdown
# Validation workflow
|
|
|
|
Select validation from the route and the actual change. Local formatting and documentation checks are appropriate for documentation edits. Code changes should run the relevant unit, type, build, lint, integration, or contract checks that exercise the changed behavior.
|
|
|
|
For shared contracts, validate source specifications, generated output, and each affected consumer. For database work, use an isolated database and check both migration and query behavior. For deployment changes, render the exact Compose project and validate changed service configuration.
|
|
|
|
Prefer evidence from commands that just ran in the current checkout. Do not substitute an earlier run, a source inspection, or a planned CI workflow for a test result.
|
|
|
|
Report checks as passed, failed, skipped, or unavailable. Give the command for failures or skips and state what the result does not prove. A smoke check of health routes is not a business-flow test.
|
|
|
|
Do not add tests that merely mirror implementation details. Add a small test when it covers a real failure mode that the existing checks cannot detect.
|