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 tests for the API #489

Closed
TomasTomecek opened this issue Mar 12, 2020 · 2 comments
Closed

introduce tests for the API #489

TomasTomecek opened this issue Mar 12, 2020 · 2 comments
Labels
testing Tests are impacted.

Comments

@TomasTomecek
Copy link
Member

I did not have the heart to ask @IceWreck to write API tests for his PR #479

But we should start testing the API code as well. I'd start with the calls which are migrated to psql.

@TomasTomecek TomasTomecek added the testing Tests are impacted. label Mar 12, 2020
@lachmanfrantisek
Copy link
Member

lachmanfrantisek commented Mar 12, 2020

The Schemathesis can be helpful for some validation and for testing the deployment (see #368 ). I am not sure if we can use it for writting custom tests.

edit: some updates can be found in the issue

@TomasTomecek
Copy link
Member Author

my expectation here is functional tests: store some objects in DB and make sure you're getting the expected data in the API responses

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

No branches or pull requests

3 participants