Proizvod vam ne odgovara? Nema veze! Proizvode možete vratiti do 30 dana
S poklon bonom ne možete pogriješiti. Za poklon bon primatelj može odabrati bilo što iz naše ponude.
Do 30 dana za povrat
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
Dobar dan! Ja sam Libroamiko, vaš književni savjetnik.
Kako vam mogu pomoći?