Hacking To demonstrate: pytest Other useful commands: fastapi dev lib/app.py Random links https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#exclude-from-openapi https://fastapi.tiangolo.com/tutorial/dependencies/#dependencies https://docs.sqlalchemy.org/en/14/orm/session_transaction.html#joining-a-session-into-an-external-transaction-such-as-for-test-suites