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

feat: add property based testing #164

Open
eoaksnes opened this issue Dec 20, 2022 · 0 comments
Open

feat: add property based testing #164

eoaksnes opened this issue Dec 20, 2022 · 0 comments
Assignees

Comments

@eoaksnes
Copy link
Collaborator

eoaksnes commented Dec 20, 2022

To automatically test the API using FastAPI’s self-generated OpenAPI specification using schemathesis.

Schemathesis works by looking at the API specification and automatically generating test cases for each endpoint.

Schemathesis checks whether your API is accepting and returning payloads with the right shape and types, whether it handles URL query and path parameters correctly, whether it returns the right status codes, and more.

By leveraging property-based testing, schemathesis is capable of generating thousands of test cases for your API

@eoaksnes eoaksnes self-assigned this Dec 20, 2022
@eoaksnes eoaksnes moved this to In progress in Development Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

1 participant