Follow along TDD Full Course, but using fastapi and pytest instead of flask and unittest.
Run server:
uvicorn main:app --reloadGo to browser:
http://localhost:8000Run tests in top directory:
python -m pytest -v| Name | Name | Last commit date | ||
|---|---|---|---|---|
Follow along TDD Full Course, but using fastapi and pytest instead of flask and unittest.
Run server:
uvicorn main:app --reloadGo to browser:
http://localhost:8000Run tests in top directory:
python -m pytest -v