Specification as a Library (Vol.5)

Intro In the last blog post, I discussed domain event handlers whose sole purpose is to execute side effects for application usefulness. In this blog post, I’ll be discussing file structure and how it relates to specification. File Structure An application can be organized into the following file folders: Domains Integration Specifications Tests Here’s an …

Specification as a Library (Vol.4)

Introduction In the previous blog post, I discussed the difference between workflows and attempts. In summary, a workflow accepts a command as input, and as a result, emits a list of domain events. Thus, an attempt also accepts a command as input, but instead, returns a status. Furthermore, the status of an attempt requires the …