API Testing With Unittest Mock, Pytest & Schemathesis - FastAPI Beyond CRUD (Part 22)

Опубликовано: 23 Октябрь 2024
на канале: Ssali Jonathan
716
23

In this video, we'll cover how to test your API using Unittest Mock, Pytest, and Schemathesis. We'll start with Unittest Mock, which helps you create fake API responses for testing. Next, we’ll use Pytest, a user-friendly framework for writing and running tests. Finally, we’ll explore Schemathesis, which automatically generates and runs tests based on your API's specification to ensure everything works correctly.



SOURCE CODE:
https://github.com/jod35/fastapi-beyo...

COURSE WEBSITE:
https://jod35jon.github.io/fastapi-we...

#python #apidevelopment #fastapi

PLEASE DONATE TO THE CHANNEL THROUGH:
BUY ME A COFFEE:
https://buymeacoffee.com/jod35

PATREON:
  / jod35  

You can also consider Becoming a member of this channel.

FOLLOW ME:

X:
https://x.com/jod35_

GITHUB:
http://github.com/jod35