Storytelling with Tests #2: setting up the stage

Storytelling with Tests #2: setting up the stage

This is the second part of my post series dedicated to quality of automated tests. In the previous part I wrote about test names and granularity. Today I'm going to focus on test data setup, its readability and how it is related with the evolution of our test suites. We…

Replacing booleans and enums with dates

It's imperative for a domain model to contain enough data to enforce domain invariants. A good domain model may capture even more information related to the business processes being handled by the system (it's a bit different when you use event sourcing, but it's out of the scope of this…