# Python Testing

> Write and run Python tests with pytest. Use when adding unit tests, debugging failing tests, designing fixtures, or verifying Python behavior in a repository.

- Skill: `gkrtjd99/python-testing` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gkrtjd99/python-testing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gkrtjd99/python-testing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gkrtjd99 (https://skillmd.com/u/gkrtjd99)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/gkrtjd99/python-testing

---


# Python Testing

Use focused pytest tests around the changed behavior. Prefer small fixtures and
clear assertions over broad integration coverage unless the risk requires it.

