Receber por email
← Voltar para o catálogo

pytest Testing

Framework pytest especializado para testes unitários, de integração e funcionais em Python.

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/pytest-testing/svg)](https://www.skillteca.com.br/skills/pytest-testing)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

pytest Testing Skill

Overview

This skill provides expert-level capabilities for pytest-based testing, enabling comprehensive Python testing with fixtures, parametrization, and plugin integration.

Capabilities

Test Execution

  • Configure pytest with fixtures and markers
  • Execute tests with coverage collection
  • Parallel execution with pytest-xdist
  • Selective test running with markers and keywords

Fixture Management

  • Design reusable fixtures
  • Configure fixture scopes (function, class, module, session)
  • Implement fixture factories

Parametrization

  • Generate parametrized test cases
  • Data-driven testing patterns
  • Combine multiple parameter sets

Plugin Integration

  • Configure pytest plugins
  • Coverage integration with pytest-cov
  • HTML and JUnit XML report generation
  • Custom plugin development

Framework Integration

  • Django test client integration
  • Flask testing patterns
  • FastAPI test client usage

Target Processes

  • automation-framework.js - Test framework setup
  • api-testing.js - API test implementation
  • continuous-testing.js - CI/CD integration
  • shift-left-testing.js - Early testing integration

Dependencies

  • pytest - Test framework
  • pytest-cov - Coverage plugin
  • pytest-xdist - Parallel execution
  • pytest-html - HTML reports

Usage Example

{
  kind: 'skill',
  skill: {
    name: 'pytest-testing',
    context: {
      action: 'execute-tests',
      testPath: 'tests/',
      markers: ['unit', 'integration'],
      coverage: true,
      parallel: 4
    }
  }
}

Configuration

The skill respects pytest.ini, pyproject.toml, or setup.cfg configuration and can override settings as needed.

Compartilhar X LinkedIn