Könyv Testing and Quality Engineering with FastAPI Riley Frost

Testing and Quality Engineering with FastAPI

A Practical Guide to pytest, HTTPX, Database Testing, Dependency Overrides, API Integration Tests, Mocking, and Continuous Integration

Szerző: Riley Frost
Nyelv: Angol
Kötés: Puha kötésű
Elérhetőség: Várható készletfeltöltés
Küldés 08. 11. 2026
8 523 Ft
Testing and Quality Engineering with FastAPIBuild Reliable Python APIs with Automated Testing, Datab...

Információk a könyvről

Szerző
Nyelv
Angol
Kötés
Könyv - Puha kötésű
Kiadva
2026
oldal
356
EAN
9798166485847
Enbook ID
54396558
Súly
619
Méretek
178 x 254 x 19

Teljes leírás

Testing and Quality Engineering with FastAPI

Build Reliable Python APIs with Automated Testing, Database Isolation, Security Verification, and Continuous Integration.

Writing a FastAPI application is one thing. Ensuring it remains reliable, secure, and maintainable as it grows is another.

Testing and Quality Engineering with FastAPI is a practical, hands-on guide to building professional automated testing workflows for modern Python REST APIs. Designed for developers who want to move beyond basic endpoint testing, this book demonstrates how to identify defects, prevent regressions, validate database operations, and maintain confidence throughout the development lifecycle.

Using realistic examples and a progressive TaskBoard API project, you'll learn how to:

  • Master pytest: Write effective unit tests, reusable fixtures, parameterized tests, and organized test suites.

  • Test FastAPI endpoints: Use TestClient and HTTPX to verify requests, responses, validation rules, and API contracts.

  • Implement database testing: Test SQLAlchemy 2.0 and PostgreSQL operations using isolated transactions, rollbacks, and Alembic migrations.

  • Control dependencies and external services: Apply FastAPI dependency overrides, mocks, AsyncMock, and failure simulations.

  • Verify asynchronous APIs and security: Test async endpoints, authentication, JWT validation, role-based permissions, and protected resources.

  • Automate software quality: Apply test-driven development, measure coverage with pytest-cov, and build GitHub Actions CI pipelines.

From foundational testing principles to production-oriented quality engineering, each chapter emphasizes practical implementation, clear explanations, and maintainable development practices.

Whether you're a Python developer, FastAPI backend engineer, or software professional looking to strengthen your testing skills, this book provides a structured path toward building dependable APIs.

Stop relying on manual checks. Start building FastAPI applications you can test, improve, and deploy with confidence.

Book 4 of The Practical FastAPI Backend Engineering Series - Riley Frost