~/talk

Bootiful Reactive Testing. Mario Gray. Java Fest 2020 Online

Talkat Java Fest 2020 · on Saturday, 2020-03-21· [testing, java]
slides:none on file

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

  1. 0:00Intro
  2. 0:28Presentation Overview
  3. 3:16Reactive Basics
  4. 7:42Coding
  5. 11:12Service Application Tests
  6. 15:05Data Class
  7. 21:27Embedded Database
  8. 29:52Router Functions
  9. 36:32Writing a Contract
  10. 40:17Writing a Base Class
  11. 48:02Creating the Contract
  12. 51:55Testing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.