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

Set up basic (non-sbt integrated) E2e test environment #63

Open
gregbrowndev opened this issue Sep 13, 2023 · 0 comments
Open

Set up basic (non-sbt integrated) E2e test environment #63

gregbrowndev opened this issue Sep 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gregbrowndev
Copy link
Owner

gregbrowndev commented Sep 13, 2023

To e2e test the application thoroughly, we should build and run the http4s Docker container and the PostgreSQL database container at the start of the e2e tests. This ensures we test the real application as a closed box.

We can follow the same approach as in the integration tests which set up the environment at the start of the test. This has a major drawback, each test will get its own server and DB container. However, we can optimise this by integrating the test environment into sbt, see #30.

@gregbrowndev gregbrowndev added the enhancement New feature or request label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant