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

[WebApi] Add Integration tests to Postgres DB via Test Containers #3

Open
gclodge opened this issue Jul 25, 2023 · 0 comments
Open
Labels
enhancement New feature or request WebApi Pertains to Haystac.WebApi (API)

Comments

@gclodge
Copy link
Collaborator

gclodge commented Jul 25, 2023

Given that we're using PostgreSQL & PostGIS under the hood (via Npgsql & EF7) we aren't able to swap to a simple in-memory SQLite or similar DB or integration testing.

As such, I'd like to implement some proper integration tests for the WebApi that use 'Test Containers' to actually interact with a fully configured DB following Matthias Guntert's excellent walkthrough here:

@gclodge gclodge added enhancement New feature or request WebApi Pertains to Haystac.WebApi (API) labels Jul 25, 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 WebApi Pertains to Haystac.WebApi (API)
Projects
None yet
Development

No branches or pull requests

1 participant