September 2023
Intermediate to advanced
470 pages
11h 12m
English
Our application is now fully working and the whole event-sourcing infrastructure is completed. We can now progress to picking up a new user story from the ones we defined at the beginning of Defining Our User Stories.
The process should be quite familiar; we let the DDT guide us through the implementation. The story we’re going to pick up now is about renaming a list. So, let’s start writing the new DDT, and let’s also introduce a new actor—Ben—who has a list of vegetables to buy and wants to rename the list:
| | @DDT |
| | fun `the list owner can rename a list`() = ddtScenario { |
| | setup { |
| ① | ben.`starts with a list`("shopping", emptyList()) |
| | }.thenPlay( |
| | ben.`can add #item to the #listname`("carrots", ... |
Read now
Unlock full access