Bootiful Testing
summary
Builds a Spring Boot producer and a consumer using reactive WebFlux, reactive MongoDB, Lombok, JUnit (4/5), Mockito and a WebTestClient; uses StepVerifier for Reactor assertions, starts with WireMock stubs and then wires in Spring Cloud Contract Groovy DSL contracts and the stub-runner. The contracts compile into verifier tests, catch a real bug (field name mismatch: reservationName vs name), get fixed, and produce green CI-ready artifacts — demonstrating concrete TDD + consumer-driven contract testing that prevents integration breakage.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:25About Me
- 3:55Test-Driven Development
- 10:34Flappy Bird
- 11:19How To Write Tests
- 16:25Inside Out Testing
- 18:37Reservation Pojo Test
- 22:16Create an Entity Tester
- 23:11Reservation Repository
- 29:49Mock Bean
- 47:16Contract Verifier Test
related talks
01h 11mBootiful Testing
52mBootiful Testing
54mBootiful TDD
57mBootiful Reactive Testing. Mario Gray. Java Fest 2020 Online
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
45mREST and Messaging contracts with Spring Cloud Contract
