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

Introduce integration testing framework #95

Closed
rebasedming opened this issue Jul 27, 2023 · 0 comments · Fixed by #112
Closed

Introduce integration testing framework #95

rebasedming opened this issue Jul 27, 2023 · 0 comments · Fixed by #112
Labels
feature New feature or request

Comments

@rebasedming
Copy link
Collaborator

rebasedming commented Jul 27, 2023

Is your feature request related to a problem? Please describe.
We need integration tests so things don't break :)

Describe the solution you'd like
An integration testing framework using pytest, very similar to the one I built in our ETL repo.

What it will do:

  1. Spin up a Dockerized Postgres fixture, and load it with some fake tables and data
  2. Spin up our docker compose stack (i.e. opensearch, kafka, and api) as another fixture
  3. Use these two fixtures to test all our core API functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant