policyengine-test-writing
This skill should be used when writing unit tests, integration tests, or test fixtures for
PolicyEngine frontend apps, APIs, SDKs, and standalone tools. NOT for country model packages
(policyengine-us, policyengine-uk, etc.) — those use YAML-based tests with their own conventions.
Covers the Given-When-Then naming convention, fixture extraction, edge case coverage, and the
rule that only modified test files should be run.
Triggers: "write tests", "add tests", "unit test", "test file", "test coverage", "write a test for",
"test this function", "test this component", "given when then", "test fixtures", "mock setup",
"edge cases", "test naming", "test convention"
Design2 files