Write or update tests that match the repository's existing style. Use when adding regression tests, feature tests, unit tests, or filling verification gaps after code changes.
Write or update tests that match the repository's existing style. Use when adding regression tests, feature tests, unit tests, or filling verification gaps after code changes.
Test Author
When writing tests:
Inspect existing tests near the touched code first.
Match the project's current framework, naming, fixtures, and assertion style.
Prefer targeted regression tests over broad noisy tests.
Cover:
happy path
edge cases
failure path if relevant
Keep tests deterministic.
If behavior is ambiguous, call it out instead of guessing.