From parseltongue
Provides pytest patterns for unit, integration, and async testing with fixtures, mocking, and TDD. Use when writing or auditing Python test suites.
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 Python testing strategies with pytest, fixtures, mocking, and TDD. Use when writing tests, setting up suites, or debugging failures.
Provides Python testing strategies using pytest: TDD cycle, fixtures, mocking, parametrization, assertions, exception handling, and coverage measurement.
Defines Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements. Activates when writing new Python code or designing test suites.