Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

619 B
Raw Blame

paths: - "/*.py" - "/*.pyi"

Pruebas en Python

Este archivo extiende common/testing.md con contenido específico de Python.

Framework

Usar pytest como framework de pruebas.

Cobertura

pytest --cov=src --cov-report=term-missing

Organización de Pruebas

Usar pytest.mark para categorización de pruebas:

import pytest

@pytest.mark.unit
def test_calculate_total():
    ...

@pytest.mark.integration
def test_database_connection():
    ...

Referencia

Ver skill: python-testing para patrones detallados de pytest y fixtures.