Simplifying cloud-native app testing across environments
summary
Claim: developers can run and test cloud‑native Spring apps locally without full clusters by combining Testcontainers, Dapr and Microcks. A three‑service pizza demo runs with only the store process: Dapr sidecar abstracts Kafka/Postgres so apps have no broker or DB deps and Microcks generates mocks and contract tests from OpenAPI/AsyncAPI, including async Kafka/cloud‑events checks. Demo shows simulated kitchen/delivery work, contract tests validate serialization and topic delivery (demo uses a 4s wait; callback support is planned), and switching brokers or managed services requires no code changes.
AI-written summary · about
chapters (13)
- 0:00Cloud-native testing challenges
- 2:29Pizza-ordering app demo
- 6:44Cloud-native complexities
- 10:20Dapper APIs for infrastructure
- 17:59Distributed systems testing
- 21:50Developer shortcuts and risks
- 23:37Micro for contract testing
- 26:52Micro isolated testing demo
- 31:03OpenAPI contract testing
- 35:19Async event flow testing
- 41:40Full testing with Micro & Dapper
- 45:16Portable cloud-native patterns
- 46:40Summary & Q&A
related talks
26mStreamlining Cloud-Native Development: Simplifying Dependencies and Testing with Microcks
27mWiring Cloud Native Applications for Local Development
26mSimplify Your Dev Life with Testcontainers
46mAvoid mastering Kubernetes for local dev. with Dapr and Testcontainers
51mSpring Boot in a Polyglot Cloud-Native World with Dapr
50mContinuous API Mocking and Testing with Microcks, Keptn, and Testkube
47mProd like Integration Testing for Cloud Native Microservices
48mTestcontainers and Spring Boot from integration tests to local development!
