feat: add test automation and backend startup scripts

This commit is contained in:
Alan Alonso
2026-05-23 01:08:55 -06:00
parent feead21e73
commit 6eaa8d2afa
3 changed files with 159 additions and 0 deletions

View File

@@ -168,6 +168,34 @@ Backend en vivo: `https://your-railway-project.up.railway.app`
---
## 6. Test Automatizado
### Terminal 1: Correr backend
```bash
bash run_backend.sh
```
Esperar a:
```
Uvicorn running on http://127.0.0.1:8000
```
### Terminal 2: Correr test
```bash
bash test_demo.sh
```
**Output esperado:**
```
✓ Register OK
✓ Create Address OK
✓ Get ETA OK
✓ Guide OK
=== ALL TESTS PASSED ===
```
---
## Troubleshooting
| Problema | Solución |