Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Master Backend Testing! | Pytest + FastAPI | Flight Booking Engine | Day 62
Play lesson

FastAPI & Next.js project: Flight Booking App With DevOps. Day 1 - 100 - Master Backend Testing! | Pytest + FastAPI | Flight Booking Engine | Day 62

5.0 (2)
23 learners

What you'll learn

This course includes

  • 104.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

We’ve built complex features like Payments, Flight Search, and Kafka Consumers—now let’s make sure they stay working. 🛡️ In Day 62, we implement a complete automated testing suite for our Flight Booking Engine. No more manual clicking in Swagger UI. We are setting up Pytest to verify our entire backend, from database CRUD operations to mocking external APIs like Amadeus and Pesapal. 💡 In this live build: Pytest Setup: Configuring conftest.py with database overrides and test sessions. Dependency Injection: How to override the database and authentication dependencies safely. Mocking External APIs: Using unittest.mock to simulate Amadeus and Pesapal responses (so we don't spend real money or hit rate limits!). Testing Async Consumers: Verifying that our Kafka background workers send emails and create notifications correctly. CRUD Verification: Ensuring our database models behave exactly as expected. By the end, you’ll have a green test suite and the confidence to refactor without breaking your app. 📘 Watch the full playlist: 👉 https://www.youtube.com/playlist?list=PLdtwawCR2QjmdfhM-7SzDOVGop373bbgW 📂 GitHub Repo (Public Mirror): 👉 https://github.com/KNehe/aero_bound_ventures-public.git 🔥 Subscribe for real production-grade engineering—writing code that lasts. Discord - https://discord.gg/ZnUYVXg6 #FastAPI #Pytest #TDD #BackendTesting #Python #Mocking #IntegrationTesting

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere