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.

624 B
Raw Blame

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

Python Testing

Bu dosya common/testing.md dosyasını Python'a özgü içerikle genişletir.

Framework

Test framework'ü olarak pytest kullan.

Coverage

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

Test Organizasyonu

Test kategorizasyonu için pytest.mark kullan:

import pytest

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

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

Referans

Detaylı pytest pattern'leri ve fixture'lar için skill: python-testing dosyasına bakın.