Testing - FastAPI
https://fastapi.tiangolo.com/tutorial/testingTesting¶. Thanks to Starlette, testing FastAPI applications is easy and enjoyable.. It is based on Requests, so it's very familiar and intuitive.. With it, you can use pytest directly with FastAPI.. Using TestClient¶. Import TestClient.. Create a TestClient passing to it your FastAPI application.. Create functions with a name that starts with test_ (this is standard pytest conventions).
FastAPI
https://fastapi.tiangolo.comFastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic). One of the fastest Python frameworks available. Fast to code: Increase the speed to develop features by about 200% to 300% ...