Bootiful Testing
summary
Builds a small reactive Spring Boot producer and a client, wires R2DBC + WebFlux + Lombok, and proves persistence and HTTP endpoints with JUnit4, Mockito and StepVerifier. Adds a Groovy Spring Cloud Contract that compiles to a verifier test, installs a stub JAR and exercises it via Stub Runner/WireMock so the consumer test runs without starting the real service. The process surfaces a protocol mismatch (field name), gets fixed, and the contract-driven tests pass, shortening cycle time.
AI-written summary · about
chapters (14)
- 0:00Start
- 7:32Test Driven Development
- 8:42Write the Tests First
- 9:51Test Driven Development
- 10:37Pivotal Labs
- 12:04What Parts of the Code Base Do We Test First
- 12:33The Chicago Style
- 16:48Build an Application That Writes Data to the Database
- 18:15Reservation Test Class
- 20:28Test the Database
- 24:29Http Tier
- 34:38Create a Spring Cloud Contract
- 37:01Spring Boot Test
- 38:00Maven Clean Install
related talks
52mBootiful Testing
01h 11mBootiful Testing
54mBootiful TDD
57mBootiful Reactive Testing. Mario Gray. Java Fest 2020 Online
44mBuild Resilient Systems with Spring Cloud Contract and Testcontainers
30mManaging APIs and Contracts in a Microservices World Using Spring Cloud Contract
52mBuild resilient systems with Spring Cloud Contract and Testcontainers
45mREST and Messaging contracts with Spring Cloud Contract
