ets-cfuhrman-pfe / EvalueTonSavoir

EvalueTonSavoir est une plate-forme open source de mini-test
MIT License
0 stars 3 forks source link

No tests are run on any GitHub actions #93

Open fuhrmanator opened 2 months ago

fuhrmanator commented 2 months ago

The actions are not set up to run tests on a PR (this is not good -- need to run the tests on PRs).

fuhrmanator commented 2 months ago

Tests need to run also before deploying.

npm test in the client directory has lots of failing tests.

npm test in the server directory only runs two tests, lots of failures.

Need more tests (that pass!) before merging PRs and deploying.

fuhrmanator commented 2 months ago

I added front-end tests for PR: https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir/blob/main/.github/workflows/frontend-tests.yml

It's not integrated into the Actions that deploy. It would be good to "call" that action before building/deploying the front-end to docker hub. It should work the same way for the back-end.

fuhrmanator commented 1 month ago

Le back-end est un casse-tête pour faire les tests:

Pour résoudre ces problèmes, je propose pour le back-end de refactoriser les models:

Diagramme de classe

ChatGPT/Copilot est ton ami.