TP5: Prepare release v1.0.0 - Add CHANGELOG, reorganize scripts, update README

This commit is contained in:
Rassaby Ludovic
2025-10-15 10:17:25 +04:00
parent 4291072b08
commit f846ce1e6c
6 changed files with 147 additions and 195 deletions
+33
View File
@@ -0,0 +1,33 @@
@echo off
chcp 65001 >nul
echo TP4 - Tests automatises avec Docker
echo ======================================
echo Demarrage des tests...
echo Demarrage des services (DB + Backend)...
docker-compose up -d db backend
echo Attente des services (15 secondes)...
timeout /t 15 /nobreak > nul
echo Verification du backend...
curl -s http://localhost:8000/health > nul
if %errorlevel% equ 0 (
echo [OK] Backend operationnel
) else (
echo [ERREUR] Backend non accessible
exit /b 1
)
echo Lancement des tests...
docker-compose --profile test up --build --abort-on-container-exit test
echo Resultats des tests:
docker-compose --profile test logs test
echo Nettoyage...
docker-compose --profile test down -v
echo [OK] Tests termines !
echo TP4 termine avec succes !