Bootiful Testing
summary
Builds a small reactive producer (Spring Boot 2.2, Lombok, reactive MongoDB, Spring Data reactive repository) and a consumer that calls it with WebTestClient, StepVerifier and Mockito stubs. Adds Spring Cloud Contract Groovy contracts that compile into WireMock stubs and a Stub Runner, catches a real schema bug (name vs reservationName) during CI, and proves fast isolated verification without spinning real DBs or Kubernetes using Spring Cloud Contract and WireMock Stub Runner.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 5:13Benefits of TDD
- 11:01Testing strategies
- 15:01Project setup and tooling
- 20:28Data layer testing
- 29:32Verifying persistence
- 37:23Testing the web tier
- 46:05Client testing challenges
- 57:19Consumer driven contracts
related talks
52mBootiful Testing
52mBootiful Testing
54mBootiful TDD
57mBootiful Reactive Testing. Mario Gray. Java Fest 2020 Online
33mPractical Contract Testing with Spring Cloud Contract
52mBuild resilient systems with Spring Cloud Contract and Testcontainers
44mBuild Resilient Systems with Spring Cloud Contract and Testcontainers
30mManaging APIs and Contracts in a Microservices World Using Spring Cloud Contract
