- Archiver 131 .md dans docs/archive/root-md/ - Archiver 22 .json dans docs/archive/root-json/ - Conserver 7 .md utiles (README, CONTRIBUTING, CHANGELOG, etc.) - Conserver package.json, package-lock.json, turbo.json - Ajouter README d'index dans chaque archive
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 ! 🧪**
|
|
|