test(smoke): bash + curl + jq script per i 6 MCP

This commit is contained in:
AdrianoDev
2026-04-27 21:35:48 +02:00
parent de19d42850
commit 33f358c13a
2 changed files with 84 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Smoke locale Cerbero_mcp
```bash
# da repo root Cerbero_mcp/
docker compose up -d
bash tests/smoke/run.sh
docker compose down
```
Il file `run.sh` verifica:
- `/health` di tutti i 6 MCP (atteso `200`)
- `environment_info` dei 4 exchange (atteso shape `{environment, source, env_value, base_url, max_leverage}`)
Variabili di ambiente:
- `GATEWAY` — URL base gateway (default `http://localhost:8080`)
- `TOKEN_FILE` — path al token bearer di lettura (default `secrets/observer.token`)
Exit code 0 = tutto OK, 1 = uno o più check falliti.