Skip Navigation
Python @lemmy.ml

How do you test request validation in FastAPI?

The default approach involves using TestClient. However, I found that mocking the database, background tasks, etc., is overkill. Do you have any suggestions?

0 comments

No comments