pytest
Installation
SKILL.md
pytest Best Practices
Comprehensive guidance for writing maintainable, efficient test suites with pytest, grounded in the official pytest documentation.
Project Layout
Use the src layout with tests outside the application package:
pyproject.toml
src/
mypkg/
__init__.py
app.py
tests/
conftest.py
test_app.py