- API Tests: 2 passed, 1 failed, 25 skipped (blocked by auth issues) - E2E Tests: 0 passed, 1 failed (global setup timeout), 19 skipped - Bugs found: 3 (2 critical, 1 high) - BUG-001: Auth register endpoint format issue (CRITICAL) - BUG-002: E2E global setup timeout (CRITICAL) - BUG-003: Token extraction in test script (HIGH) Files added: - MVP_TEST_REPORT.md: Complete test report with bug analysis - MVP_BUGS_TODOLIST.json: Detailed bug tracking - scripts/test-mvp-api.sh: API test suite - scripts/setup-mvp-test-env.sh: Environment setup - apps/web/e2e/mvp-integration.spec.ts: E2E test suite - TESTS_MVP_README.md: Complete documentation
79 lines
1.2 KiB
Markdown
79 lines
1.2 KiB
Markdown
# 🚀 Quick Start - Tests MVP
|
|
|
|
Guide rapide pour exécuter les tests exhaustifs MVP.
|
|
|
|
## ⚡ Démarrage Rapide
|
|
|
|
### 1. Setup (une seule fois)
|
|
|
|
```bash
|
|
./scripts/setup-mvp-test-env.sh
|
|
```
|
|
|
|
### 2. Démarrer les services
|
|
|
|
**Terminal 1 - Backend:**
|
|
```bash
|
|
cd veza-backend-api
|
|
go run cmd/api/main.go
|
|
```
|
|
|
|
**Terminal 2 - Frontend:**
|
|
```bash
|
|
cd apps/web
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
### 3. Exécuter TOUS les tests
|
|
|
|
```bash
|
|
./scripts/run-all-mvp-tests.sh
|
|
```
|
|
|
|
## 🎯 Tests Individuels
|
|
|
|
### Tests API uniquement
|
|
|
|
```bash
|
|
./scripts/test-mvp-api.sh
|
|
```
|
|
|
|
### Tests E2E uniquement
|
|
|
|
```bash
|
|
cd apps/web
|
|
npm run test:e2e -- e2e/mvp-integration.spec.ts
|
|
```
|
|
|
|
### Tests E2E avec navigateur visible
|
|
|
|
```bash
|
|
cd apps/web
|
|
npx playwright test e2e/mvp-integration.spec.ts --headed
|
|
```
|
|
|
|
## 📊 Rapports
|
|
|
|
Les rapports sont générés dans :
|
|
- `test-reports/YYYYMMDD-HHMMSS/` (après `run-all-mvp-tests.sh`)
|
|
- `apps/web/playwright-report/` (rapport HTML Playwright)
|
|
|
|
## 🐛 Bugs
|
|
|
|
Pour générer un rapport de bugs :
|
|
|
|
```bash
|
|
./scripts/generate-bug-report.sh
|
|
```
|
|
|
|
Le template de todolist est dans : `MVP_BUGS_TODOLIST.json`
|
|
|
|
## 📖 Documentation Complète
|
|
|
|
Voir `TESTS_MVP_README.md` pour la documentation complète.
|
|
|
|
---
|
|
|
|
**Bon testing ! 🧪**
|
|
|