testing-python-libraries

Installation
SKILL.md

Python Library Testing

Quick Start

pytest                              # Run tests
pytest --cov=my_library             # With coverage
pytest -x                           # Stop on first failure
pytest -k "test_encode"             # Run matching tests

Pytest Configuration

# pyproject.toml
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q --cov=my_library --cov-fail-under=85"
Related skills

More from wdm0006/python-skills

Installs
20
GitHub Stars
32
First Seen
Jan 24, 2026