Skip to content

Commit 438e176

Browse files
docs: clarify Test-class convention applies even in legacy files
1 parent 9e5aedd commit 438e176

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ This document contains critical information about working with this codebase. Fo
2222
3. Testing Requirements
2323
- Framework: `uv run --frozen pytest`
2424
- Async testing: use anyio, not asyncio
25-
- Do not use `Test` prefixed classes, use functions
25+
- Do not use `Test` prefixed classes — write plain top-level `test_*` functions.
26+
Legacy files still contain `Test*` classes; do NOT follow that pattern for new
27+
tests even when adding to such a file.
2628
- Coverage: test edge cases and errors
2729
- New features require tests
2830
- Bug fixes require regression tests

0 commit comments

Comments
 (0)