Implemente estratégias de testes abrangentes com pytest, fixtures, mocking e desenvolvimento orientado por testes. Use ao escrever testes em Python, configurar suites de testes ou implementar melhores práticas de testes.
Scanned 9/8/2026
Install to Claude Code
npx -y skills add artubss/SKILLS-CLAUDE-CODE --skill python-testing-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Python Testing Patterns?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/artubss-python-testing-patterns)More formats (shields.io, HTML) on the badges page.
---
name: python-testing-patterns
description: "Implemente estratégias de testes abrangentes com pytest, fixtures, mocking e desenvolvimento orientado por testes. Use ao escrever testes em Python, configurar suites de testes ou implementar melhores práticas de testes."
risk: safe
source: community
date_added: "2026-02-27"
---
# Padrões de Testes em Python
Guia abrangente para implementar estratégias robustas de testes em Python usando pytest, fixtures, mocking, parameterização e práticas de desenvolvimento orientado por testes.
## Use esta skill quando
- Escrever testes unitários para código Python
- Configurar suites de testes e infraestrutura de testes
- Implementar desenvolvimento orientado por testes (TDD)
- Criar testes de integração para APIs e serviços
- Fazer mock de dependências externas e serviços
- Testar código assíncrono e operações concorrentes
- Configurar testes contínuos em CI/CD
- Implementar testes baseados em propriedades
- Testar operações de banco de dados
- Depurar testes que falharam
## Não use esta skill quando
- A tarefa não está relacionada a padrões de testes em Python
- Você precisa de um domínio ou ferramenta diferente fora deste escopo
## Instruções
- Esclareça objetivos, restrições e entradas necessárias.
- Aplique as melhores práticas relevantes e valide os resultados.
- Forneça passos acionáveis e verificação.
- Se exemplos detalhados forem necessários, abra `resources/implementation-playbook.md`.
## Recursos
- `resources/implementation-playbook.md` para padrões e exemplos detalhados.Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!