Testing Strategies¶
Workflow¶
- Identify likely regressions and important boundaries, then choose the smallest checks that observe them.
- Use the existing test framework; default to unittest for new Python stdlib code.
- Test error paths, permissions, concurrent writes and persistence when relevant. Mock external boundaries, not the implementation itself.
- Do not mandate coverage percentages, one-assert rules or broad end-to-end suites for every change. Report exact checks and limitations.
Completion¶
Return the concrete result, verification evidence and any material unresolved limitation. Keep documentation proportional to the change and preserve human feedback.
Focused references¶
- Detailed examples: load only the section relevant to the task.
Canonical source: skills/software-engineering/testing-strategies.md.