Want to make your first Domain Model? Behavior Driven Development
summary
Behavior-driven development shapes a concrete domain model by driving code with readable Given–When–Then feature tests, incrementally building aggregates (hotel → floor → room → window) and using small scenarios to reveal misplaced properties and surprising edge cases. The team writes one test, adds minimal code, repeats, and keeps tests as a safety net; event-sourced systems treat past events as givens while event storming discovers commands/events. Shows practical pitfalls: legacy-driven language, wrong bounded contexts, and when reshaping actually succeeds.
AI-written summary · about
chapters (11)
- 0:00Introduction to DDD
- 1:13What is a domain model
- 3:23Evolving domain models
- 4:05Hotel window cleaner example
- 7:58Introducing behavior-driven development
- 10:49Feature test for window cleaner
- 14:03Event-oriented systems with BDD
- 17:57BDD and business concepts
- 20:27Challenges in domain modeling
- 21:54Future-proof domain models
- 23:19Summary and closing
