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.data-ai
Models a business in its own language. Use when the domain has real business rules to capture.
research
Generate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output.
development
Generates and self-executes a diff-derived test plan for a PR. Use when validating PR changes before merge. Do not use for code review; use sanctum:pr-review.
development
Ramps implementation ambition a notch only after the prior increment is understood. Use when building a feature you must understand, not just ship.