Skip to content
Back to skills

Python Testing Patterns

ASecurity

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.

  • 11 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
developmentpythongotestingapici/cd

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add artubss/SKILLS-CLAUDE-CODE --skill python-testing-patterns --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Python Testing Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/artubss-python-testing-patterns/badge)](https://www.skillsdirectory.com/skills/artubss-python-testing-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md1.6 KB
  • resources/implementation-playbook.md21.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.