Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH] Utiliser de fausses données pour les test du script get-elements-csv (PIX-15633) #10819

Merged

Conversation

clemlatz
Copy link
Member

🎄 Problème

Dans notre test du script get-elements pour extraire en CSV, on consomme le vrai didacticiel. Ainsi si le contenu est modifié, les tests de script peuvent casser.

🎁 Proposition

On préfère rendre le test déterministe et donc ne plus consommer le didacticiel.

🧦 Remarques

RAS

🎅 Pour tester

Commenter aléatoirement des lignes de https://github.com/1024pix/pix/blob/91aa62b353aa3175db12391948d9aa3052f9397b/api/scripts/modulix/get-elements-csv.js et constater que le test échoue.

@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles via les liens suivants :

@dianeCdrPix dianeCdrPix force-pushed the pix-15633-use-deterministic-data-for-script-test branch 2 times, most recently from 8d21868 to c3d3fe1 Compare December 17, 2024 10:00
clemlatz and others added 3 commits December 17, 2024 10:12
Co-authored-by: Eric Lim <[email protected]>
Co-authored-by: Diane Cordier <[email protected]>
Co-authored-by: Eric Lim <[email protected]>
Co-authored-by: Diane Cordier <[email protected]>
Co-authored-by: Eric Lim <[email protected]>
Co-authored-by: Diane Cordier <[email protected]>
@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-15633-use-deterministic-data-for-script-test branch from c3d3fe1 to da1c21a Compare December 17, 2024 10:12
@pix-service-auto-merge pix-service-auto-merge merged commit fb056c9 into dev Dec 17, 2024
7 of 8 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-15633-use-deterministic-data-for-script-test branch December 17, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants