Bootiful TDD
summary
Asserts that TDD keeps any part of code a few minutes from shippable and shows a working pipeline: a reactive Spring Boot reactive MongoDB producer service and a consumer client, tests using Reactor StepVerifier, AssertJ and Mockito with Spring test slices and WebTestClient, contract files compiled by Spring Cloud Contract into stubs placed in ~/.m2, and Stub Runner replacing earlier WireMock stubs. A mismatch (producer field name vs consumer reservationName) is detected by the generated contract test and fixed, proving the contract enforcement approach.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:55Reactive Spring
- 9:10Testable Code
- 15:00Start That Spring
- 17:00Writing Tests
- 19:30Creating a Reservation
- 23:00Search
- 23:45Persistence
- 26:15Custom queries
- 29:10Reservation HTTP test
- 32:10Reservation configuration test
- 38:45Web client
- 40:55Wire mock
- 45:45Contract
related talks
52mBootiful Testing
01h 11mBootiful Testing
52mBootiful Testing
57mBootiful Reactive Testing. Mario Gray. Java Fest 2020 Online
46mHow John Started to Like TDD (Instead of Hating It)
56mTDD: seriously, try it!
52mBuild resilient systems with Spring Cloud Contract and Testcontainers
29mAh, Wonderful TDD — Peace of Mind for Apps and Engineers
