mirror of
https://github.com/duthaho/claudekit.git
synced 2026-06-11 12:44:56 +03:00
617 B
617 B
paths
| paths | |||||
|---|---|---|---|---|---|
|
Test Writing Rules
- Python test naming:
test_[function]_[scenario]_[expected] - TypeScript test naming:
describe('[Component]', () => { it('should [behavior]') }) - Each test file must have at least one happy path and one error case
- Mock external dependencies, not internal modules
- Use factories/fixtures over inline test data
- Never commit
.skip()or.only()— remove before pushing - Minimum coverage: 80% overall, 95% for critical paths
- Prefer pytest for Python, vitest for TypeScript