testing
Installation
SKILL.md
Testing Standards
Framework
- Use pytest for all tests
- Target 80%+ code coverage
File Organization
- Tests in
tests/directory mirroringsrc/structure - Test files:
test_<module>.pyor<module>_test.py - Test functions:
test_<description>
Fixtures
- Use fixtures for reusable test data
- Prefer
scope="function"unless shared state is needed - Use
conftest.pyfor shared fixtures
Example:
import pytest