Hacker News new | ask | show | jobs
by pgjones 1672 days ago
You can already do this using Hypothesis with the Pydantic plugin, https://pydantic-docs.helpmanual.io/hypothesis_plugin/. Here is an example for Quart-Schema (similar setup to FastAPI) https://pgjones.dev/blog/automatic-api-testing-2021.
1 comments

Excellent! It's always nice to find useful tools you didn't know about.