Nehodí se? Vůbec nevadí! Zboží můžete vrátit až do 30 dní
S dárkovým poukazem nešlápnete vedle. Obdarovaný si za dárkový poukaz může vybrat cokoliv z naší nabídky.
Až 30 dní na vrácení zboží
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
Ahoj! Jsem Libroamiko, tvůj knižní rádce.
Jak ti můžu pomoct?