testing-python-libraries

Installation
SKILL.md

Python Library Testing

Quick Start

uv run pytest                       # Run tests
uv run pytest --cov=my_library      # With coverage
uv run pytest -x                    # Stop on first failure
uv run 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"
Installs
97
GitHub Stars
85
First Seen
Jan 24, 2026
testing-python-libraries — wdm0006/python-skills