-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
P1 · hauteSprint en cours — haute prioritéSprint en cours — haute prioritéintermediateRequiert de l'expérience Python / asyncRequiert de l'expérience Python / asynctestÉcriture ou amélioration de testsÉcriture ou amélioration de tests
Milestone
Description
Contexte
Les tests unitaires mockent HTTP avec respx. Cette issue crée les tests d'intégration qui parlent à un vrai Parse Server via Docker.
⚠️ Dépend de #2 (ParseObject) et #6 (ParseUser).
Fichiers à créer
docker-compose.test.yml— Parse Server + MongoDB avec healthchecktests/integration/conftest.py— fixtureparse_client, skip si serveur absenttests/integration/test_smoke.py— cycle CRUD et auth complets
Comportement attendu
docker compose -f docker-compose.test.yml up -d
pytest -m integration
docker compose -f docker-compose.test.yml downLes tests @pytest.mark.integration doivent être skippés automatiquement si Parse Server est inaccessible.
Critères d'acceptation
-
docker-compose.test.ymllance Parse Server + MongoDB proprement -
pytest -m integrationpasse avec Parse Server actif - Tests skippés si Parse Server est inaccessible
- Le
conftest.pyd'intégration n'impacte pas les tests unitaires - Instructions de lancement ajoutées dans le README
Ressources
- Image Docker :
parseplatform/parse-server - Variables d'environnement : https://github.com/parse-community/parse-server#configuration
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1 · hauteSprint en cours — haute prioritéSprint en cours — haute prioritéintermediateRequiert de l'expérience Python / asyncRequiert de l'expérience Python / asynctestÉcriture ou amélioration de testsÉcriture ou amélioration de tests