Bootiful Reactive Testing. Mario Gray. Java Fest 2020 Online
summary
Live-coding shows how to test a reactive Spring Boot 2.x service end-to-end: unit-style test slices (@DataMongoTest, @WebFluxTest) + embedded Mongo (flapdoodle), reactive assertions with StepVerifier, HTTP checks via WebTestClient bound to a Kotlin router function, and consumer-driven contract tests using Spring Cloud Contract that generate stubs (Gradle/Maven plugin → REST-assured tests). Demo hits a failing run until the contract file and JSON stub are added, then the generated tests and stubs exercise the running server successfully.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:28Presentation Overview
- 3:16Reactive Basics
- 7:42Coding
- 11:12Service Application Tests
- 15:05Data Class
- 21:27Embedded Database
- 29:52Router Functions
- 36:32Writing a Contract
- 40:17Writing a Base Class
- 48:02Creating the Contract
- 51:55Testing








