Książki po angielsku · odkrywaj nowe historie

Obsługa klienta: kontakt@bookbuy.pl

Znajdź książkę po tytule, autorze lub numerze ISBN.

Okładka książki

Książka po angielsku

Integration Testing with Testcontainers and .NET 10

Lucian Verne

Opis książki

Your tests pass. But will your ASP.NET Core application still work when it connects to a real database, cache, or message broker?If integration testing feels complicated, this guide makes it manageable. Integration Testing with Testcontainers and .NET 10 shows you how to test real application behavior using disposable Docker containers-without maintaining shared test servers or relying on mocks where real infrastructure matters.Follow one growing ASP.NET Core project, CommerceFlow, as it connects to PostgreSQL, Redis, and RabbitMQ. With clear C# examples, practical exercises, and verification checklists, you'll learn how to spot failures, fix unreliable tests, and build confidence one working test at a time.Key Features- A hands-on, step-by-step approach for developers new to Testcontainers.- One continuous project instead of disconnected examples.- Real-world database, caching, and messaging tests.- Practical guidance on test isolation, troubleshooting, and CI/CD.- Chapter exercises, checklists, review questions, and reference appendices.What You Will Learn- Start and manage disposable containers for automated tests.- Test ASP.NET Core APIs with WebApplicationFactory and xUnit v3.- Verify EF Core migrations and PostgreSQL persistence.- Reset test data and run database tests safely in parallel.- Test Redis cache hits, expiration, and invalidation.- Verify RabbitMQ publication, consumers, and asynchronous workflows.- Coordinate containers, diagnose failures, prevent flaky tests, and run suites in CI/CD.Who This Book Is ForC# and ASP.NET Core developers, software testers, and self-learners who want a practical introduction to container-backed integration testing. Basic C# and ASP.NET Core knowledge is helpful; no prior experience with Testcontainers or advanced container testing is required.Table of ContentsChapter 1: Building Trustworthy Integration Tests with TestcontainersChapter 2: Integrating Testcontainers with ASP.NET Core 10Chapter 3: Testing EF Core Against Real PostgreSQLChapter 4: Designing Database Isolation and Parallel-Safe TestsChapter 5: Testing Real Redis Cache BehaviorChapter 6: Testing RabbitMQ and Asynchronous WorkflowsChapter 7: Coordinating Multiple Containers and NetworksChapter 8: Testing Infrastructure Failures and Diagnosing ProblemsChapter 9: Engineering Fast, Deterministic Integration-Test SuitesChapter 10: Running Testcontainers Reliably in CI/CDBuild tests you can trust. Start with your first container, learn from every result, and develop the skills to test real .NET applications with confidence.

ISBN-13
9798162058502
Język
Angielski
Waga
535 g
Oprawa
Miękka
Wydawnictwo
Independently published
Liczba stron
306
Rok wydania
2026
Kategoria
Nieprzypisana

Termin wysyłki jest obecnie niedostępny.

Wszystkie podane terminy wysyłki liczymy w dniach roboczych.
Cena brutto 286,92 zł
Zadaj pytanie o książkę Wróć do katalogu

Poznaj twórczość autora

Inne książki tego samego autora

12 książek

Odkryj kolejną lekturę

Podobne książki

0 książek

Kolejne propozycje pojawią się wraz z aktualizacją katalogu.