From parseltongue
Provides pytest patterns for Python testing: setup, fixtures, TDD, mocking, async tests, and integration tests. Use for unit/integration test construction and coverage config.
How this skill is triggered — by the user, by Claude, or both
Slash command
/parseltongue:python-testingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Testing standards for pytest configuration, fixture management, and TDD implementation.
Testing standards for pytest configuration, fixture management, and TDD implementation.
pip install pytest pytest-cov pytest-asyncio pytest-mockpyproject.toml:
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src"
pytest to confirm discovery of files matching test_*.py.pytest-mock or custom monkeypatching.pytest-asyncio markers and event loop management.This skill uses modular loading to manage the system prompt budget.
modules/unit-testing.md - AAA (Arrange-Act-Assert) pattern, basic test structure, and exception validation.modules/fixtures-and-mocking.md - Request-scoped fixtures, parameterization, and boundary mocking.modules/async-testing.md - Coroutine testing, async fixtures, and concurrency validation.modules/test-infrastructure.md - Directory standards, conftest.py management, and coverage tools.modules/testing-workflows.md - Local execution patterns and GitHub Actions integration.modules/test-quality.md - Identification of common anti-patterns like broad exception catching or shared state between tests.test_*.py pattern. Use pytest --collect-only to debug discovery paths.pip install -e ..pytest-asyncio is installed and that async tests use the @pytest.mark.asyncio decorator or corresponding auto-mode configuration.npx claudepluginhub athola/claude-night-market --plugin parseltongueImplements pytest testing strategies with fixtures, mocking, parameterization, and TDD for Python unit, integration, async tests, databases, and CI/CD.
Implements Python testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests or setting up test suites.
Provides pytest guidance for Python testing: fixtures, parametrization, coverage, mocking, markers, async tests, conftest.py, and TDD workflows.