This covers the essentials of pytest-based testing with a strong TDD bent. You get fixtures with different scopes, parametrization patterns, mocking with unittest.mock, and the red-green-refactor cycle baked into the workflow. It pushes for 80% coverage as standard and 100% on critical paths, which is reasonable. The examples are practical: database setup/teardown, API auth headers in conftest.py, running tests by markers to skip slow integration tests. If you're building Python projects and want a reference that doesn't just show syntax but actually demonstrates when to use module-scoped fixtures versus function-scoped ones, this gets you there without the usual tutorial bloat.
npx -y skills add affaan-m/ecc --skill python-testing --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents
github/awesome-copilot