Hexagonal Architecture Level 2: How to write well…
summary
Explains testing strategies for hexagonal architecture applied to microservices, covering the five recommended test levels from Martin Fowler and how to implement them. Shows concrete examples via live coding using Kotlin and Spring Boot, and discusses how to produce test-driven documentation.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 1:46Functional testing problems
- 3:10Functional tests in hexagonal
- 4:17Gherkin scenarios readability
- 6:21Implementing test steps
- 7:23Stubs in domain
- 8:27Domain assertions and invariants
- 9:53Gherkin scenarios composition
- 11:18Encapsulating test behaviors
- 12:22Readable assertions
- 14:30Acceptance criteria encapsulation
- 17:23Valid domain objects
- 19:10Factories for tests
- 22:22Contract documentation via tests
- 23:05Spring Cloud Contract
- 27:17Consumer tests with Spring Cloud
- 30:26Component tests with Karaté
- 33:32End-to-end tests with Karaté
- 38:03Karate demo
- 39:26Testing tour workflows
- 42:15Tests on deployed env
- 43:19Speakers
- 44:00Resources and conclusion
related talks
25mHexagonal Architecture in Monoliths and Microservices
37mTDD and Hexagonal Architecture in Microservices
47mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
45mThe End of Layered Architectures with the Hexagonal Approach
48mHexagonal Architecture in Practice, the Live Coding That Will Make Your Apps Plain... (live)
47mThe End of Layered Architectures with the Hexagonal Approach
50mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
46mHexagonal at Scale, with DDD and microservices!
