Skip to content

Commit 56d748e

Browse files
AGENTS.md: Update testing guidelines to ensure sync/async coverage
- Require separate test cases for `PdfRestClient` and `AsyncPdfRestClient` in both unit and live test suites to verify synchronous and asynchronous behavior independently. Assisted-by: Codex
1 parent 9a79177 commit 56d748e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@
138138
- Write pytest tests: files named `test_*.py`, test functions `test_*`, fixtures
139139
in `conftest.py` where shared.
140140

141+
- Cover both client transports in every new test module (unit and live suites):
142+
add distinct test cases (not parameterized branches) that exercise each
143+
assertion through `PdfRestClient` and `AsyncPdfRestClient` so sync/async
144+
behaviour stays independently verifiable.
145+
141146
- Ensure high-value coverage of public functions and edge cases; document intent
142147
in test docstrings when non-obvious.
143148

0 commit comments

Comments
 (0)