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

Implement CI tests against dockerized SODAR #3

Open
holtgrewe opened this issue May 4, 2021 · 0 comments
Open

Implement CI tests against dockerized SODAR #3

holtgrewe opened this issue May 4, 2021 · 0 comments

Comments

@holtgrewe
Copy link
Member

Is your feature request related to a problem? Please describe.
At the moment we use requests_mock for stubbing out REST calls to SODAR. Thus the tests depend on the test data being correct more than correct behaviour when woring with REST API.

Describe the solution you'd like
Implement tests that work against a dockerized version of SODAR. We either need a dedicated "client CI" mode in SODAR or (maybe preferred) reset the database before each test by performing a fresh setup.

Describe alternatives you've considered
We could keep things as they are or implement a fake SODAR server. Both have their problems.

Additional context
Depends on creation of https://github.com/bihealth/sodar-docker-compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant