System test
You've built your FastAPI application and added unit tests to verify code functionality. Writing a system test for an API endpoint will ensure that the endpoint works on the running application.
We can't run the FastAPI server directly with "Run this file" - see the instructions for how to run the server and test your code from the terminal.
Cet exercice fait partie du cours
<cours>Introduction to FastAPI</cours>Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice