Spaces:
Sleeping
Sleeping
Claude commited on
docs: regen test count (4700) après ajout de tests Phase 6
Browse files``scripts/gen_readme_tables.py`` synchronise le compteur de tests
dans README.md + CLAUDE.md. Les commits F-K ont ajouté ~30 tests
(synthesis_preview UI, ZIP collision HTTP, _legacy_request_to_run_request,
HTR-United extraction, CLI smoke), faisant passer le compteur de
4650 à 4700.
https://claude.ai/code/session_01ArfZ8kcgv7Cyda7VbJVmpn
CLAUDE.md
CHANGED
|
@@ -116,7 +116,7 @@ picarones/
|
|
| 116 |
|
| 117 |
## État des tests et bugs historiques
|
| 118 |
|
| 119 |
-
`pytest tests/` → **
|
| 120 |
(post-S59). Les deselected sont les markers `live` (5 tests d'intégration
|
| 121 |
contre vraie API/binaire) + `network` (3 tests qui hit le réseau réel),
|
| 122 |
opt-in en local via `pytest -m live` ou `pytest -m network`. Le
|
|
@@ -302,7 +302,7 @@ détecte, arbitre, rend.
|
|
| 302 |
## Contexte développement
|
| 303 |
|
| 304 |
- **Environnement** : GitHub Codespaces, Python 3.11+
|
| 305 |
-
- **Tests** : `pytest tests/ -q` →
|
| 306 |
deselected, 0 failed (post-v2.0).
|
| 307 |
- **Manifeste architecture** : [`docs/explanation/architecture.md`](docs/explanation/architecture.md).
|
| 308 |
- **API publique stable** : [`docs/reference/api-stable.md`](docs/reference/api-stable.md).
|
|
|
|
| 116 |
|
| 117 |
## État des tests et bugs historiques
|
| 118 |
|
| 119 |
+
`pytest tests/` → **4700 passed, 12 skipped, 8 deselected, 0 failed**
|
| 120 |
(post-S59). Les deselected sont les markers `live` (5 tests d'intégration
|
| 121 |
contre vraie API/binaire) + `network` (3 tests qui hit le réseau réel),
|
| 122 |
opt-in en local via `pytest -m live` ou `pytest -m network`. Le
|
|
|
|
| 302 |
## Contexte développement
|
| 303 |
|
| 304 |
- **Environnement** : GitHub Codespaces, Python 3.11+
|
| 305 |
+
- **Tests** : `pytest tests/ -q` → 4700 passed, 9 skipped, 24
|
| 306 |
deselected, 0 failed (post-v2.0).
|
| 307 |
- **Manifeste architecture** : [`docs/explanation/architecture.md`](docs/explanation/architecture.md).
|
| 308 |
- **API publique stable** : [`docs/reference/api-stable.md`](docs/reference/api-stable.md).
|
README.md
CHANGED
|
@@ -397,7 +397,7 @@ ruff check picarones/ tests/
|
|
| 397 |
python -m mypy picarones/core/
|
| 398 |
```
|
| 399 |
|
| 400 |
-
**Test suite**: ~
|
| 401 |
floor at 85% (currently ~87%). The `network` marker excludes tests
|
| 402 |
requiring live HTTP. A handful of tests depend on optional engines
|
| 403 |
(`pero-ocr`, `pytesseract`) and are skipped/fail gracefully when
|
|
|
|
| 397 |
python -m mypy picarones/core/
|
| 398 |
```
|
| 399 |
|
| 400 |
+
**Test suite**: ~4700 tests, ~3 min on a modern laptop. Coverage
|
| 401 |
floor at 85% (currently ~87%). The `network` marker excludes tests
|
| 402 |
requiring live HTTP. A handful of tests depend on optional engines
|
| 403 |
(`pero-ocr`, `pytesseract`) and are skipped/fail gracefully when
|