mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-12 08:22:29 +02:00
docs: add Spanish (es) translation (#2095)
Adds a complete Spanish translation of the ECC documentation under docs/es/, mirroring the Turkish (docs/tr/) translation in scope. 141 files covering agents, commands, rules, skills, contexts, examples, and core docs. Updates root README.md with the Spanish language link. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
28b78dd7bf
commit
ac0f11c640
143 changed files with 28639 additions and 3 deletions
38
docs/es/rules/python/testing.md
Normal file
38
docs/es/rules/python/testing.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.pyi"
|
||||
---
|
||||
# Pruebas en Python
|
||||
|
||||
> Este archivo extiende [common/testing.md](../common/testing.md) con contenido específico de Python.
|
||||
|
||||
## Framework
|
||||
|
||||
Usar **pytest** como framework de pruebas.
|
||||
|
||||
## Cobertura
|
||||
|
||||
```bash
|
||||
pytest --cov=src --cov-report=term-missing
|
||||
```
|
||||
|
||||
## Organización de Pruebas
|
||||
|
||||
Usar `pytest.mark` para categorización de pruebas:
|
||||
|
||||
```python
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue