-
Notifications
You must be signed in to change notification settings - Fork 0
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
Explore how to set up base test case with local SQL DB access #18
Comments
Currently focusing on issue #16, if anyone has time to explore this feel free to reassign this to yourself. |
An alternative is to use an embedded PostgreSQL database for unit testing. |
Thanks for suggesting the alternatives. Let's consolidate out findings in this google doc, I did some quick research there could be many approaches to this. https://docs.google.com/document/d/1OATm_5TuzpFQPJ6uor2J4MbHRL5-Zg9hCV3rnbcCm3I/edit |
@hhdqirui would you like to work on this? I think either option might work for us, OpenTable Embedded PostgreSQL Component would be easier to get started with. We also need to explore how to integrate it successfully in our CI/CD pipeline. |
Explore how to write component tests (e.g. for course) against SQL DB. Run tests for CoursesDb, CoursesLogic, and a few course-only APIs.
Updated:
The current most viable solution is to use throwaway instances of databases running in Docker containers.
There are two options we can consider:
The text was updated successfully, but these errors were encountered: