Testing FastAPI endpoints using fastapi.testclient

This post shows you an example of how to use fastapi.testclient provided by FastAPI. This testclient will help anyone to write code level tests quickly. Background Recently, we have developed an internal application using FastAPI. I thought to document a quick testing approach which may help software engineers to write test cases quickly. Here I have used fastapi.testclient instead of […]