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

Add integration tests on server #829

Closed
Tracked by #862
charlesBochet opened this issue Jul 22, 2023 · 0 comments · Fixed by #944
Closed
Tracked by #862

Add integration tests on server #829

charlesBochet opened this issue Jul 22, 2023 · 0 comments · Fixed by #944
Assignees
Labels
blocked: tech spec needed scope: backend Issues that are affecting the backend side only

Comments

@charlesBochet
Copy link
Member

We don't have tests on server right now which will lead to regressions.
As our first testing strategy, we would like to put in place integration tests: create test suite that will query the API and use a seeded postgres database

Todo:

  • find a way to provision a testing postgres database locally (maybe just create a test database on the existing instance?)
  • find a way to provision a testing prostgres database in CI
  • write a script to seed the test database before running the tests
  • write a first test suite. Make sure it's idempotent
@charlesBochet charlesBochet moved this from 🆕 New to 🔖 Planned in 🎯 Roadmap & Sprints Jul 22, 2023
@FelixMalfait FelixMalfait added scope: backend Issues that are affecting the backend side only blocked: tech spec needed labels Jul 23, 2023
@magrinj magrinj moved this from 🔖 Planned to 🏗 In progress in 🎯 Roadmap & Sprints Jul 26, 2023
@magrinj magrinj linked a pull request Jul 27, 2023 that will close this issue
@magrinj magrinj moved this from 🏗 In progress to 👀 In review in 🎯 Roadmap & Sprints Jul 27, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in 🎯 Roadmap & Sprints Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: tech spec needed scope: backend Issues that are affecting the backend side only
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants