Python developers use tests to make sure their code works correctly. pytest is a popular tool for writing and running tests. This guide covers key patterns like TDD, or Test-Driven Development, where you write a failing test first.
You will learn about fixtures for reusable test data, mocking to simulate external services, and coverage to track how much code is tested. These skills help catch bugs early and keep your code reliable.
Global
mkdir -p ~/.claude/skills/python-testingProject
mkdir -p .claude/skills/python-testingSource Repository
Grill Memattpocock/skills
Stress-test your plan with relentless questions until we both understand
Tddmattpocock/skills
Write one test at a time then code to make it pass
Test Driven Developmentobra/superpowers
Write a failing test first then code just enough to pass
Webapp Testinganthropics/skills
Test your local web apps quickly with Playwright automation and screenshots
Qamattpocock/skills
Turn bug reports into GitHub issues through natural conversation without technical fuss
Migrate To Shoehornmattpocock/skills
Replace unsafe as assertions with type-safe partial test data easily
Playwright Best Practicescurrents-dev/playwright-best-practices-skill
Master Playwright testing with best practices for reliable and fast tests
Google Agents Cli Evalgoogle/agents-cli
Run evaluations on your AI agent, find failures, and improve its quality step by step