plugins/parseltongue/skills/python-testing/SKILL.md
Python testing patterns with pytest, fixtures, TDD, mocking, async and integration tests. Use when writing or auditing a Python test suite.
npx skillsauth add athola/claude-night-market python-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.research
Generate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output.
tools
--- name: validate-pr description: Use when you need a diff-derived test plan for a PR: reads the diff, groups changes by area, runs targeted verifications, and proves revert-tests are genuine guards, not dead assertions. alwaysApply: false category: validation tags: - pr - validation - test-plan - diff - revert-test - evidence tools: [] usage_patterns: - diff-derived-test-plan - revert-test-quality-check - evidence-capture complexity: intermediate model_hint: standard estimated_tokens: 650
development
Contract for the project decision journal (tradeoffs and lessons-learned logs). Use when recording a decision, tradeoff, or lesson, or building a consumer hook.
development
Ramps implementation ambition a notch only after the prior increment is understood. Use when building a feature you must understand, not just ship.