python3-testing
Installation
SKILL.md
Testing Patterns
Consult standards-for-python-development for the shared rules (coverage, test naming, AAA).
Test Failure Mindset
Tests encode claims about expected behavior; validate them against authoritative intent. Neither a test nor its implementation is automatically correct. Investigate both possibilities:
| Hypothesis A | Hypothesis B |
|---|---|
| Test expectations are wrong | Implementation has a bug |
| Test is outdated | Test caught a regression |
| Test has wrong assumptions | Test found an edge case |
Red flags: Never immediately change tests to match implementation. Never assume implementation is always correct. Never bulk-update tests without individual analysis.