September 2023
Intermediate to advanced
470 pages
11h 12m
English
In the previous chapter, we managed to modify a to-do list while keeping the domain pure. What we want now is to let users create their lists; for this we also need a page that shows all the user’s lists. We drew the mock-up for this page in the first chapter (see Preparing the Mock-Ups), and now we can write down the DDTs covering these scenarios:
Let’s start with the first two DDTs; we’ll look at list creation later. Since these are DDT and not unit tests, we can write both tests together and leave them as work-in-progress:
| | class UserListsPageDDT: ZettaiDDT(allActions()) { |
| |
Read now
Unlock full access