On the previous article, we already learn about how to create a UseCase. In this article, we are going to learn how we can composes use case and create new one that has different functionality, using Composite Reuse Principle. Let's visit the previous article example. The previous example, we have a LoadTransactionsUseCase protocol to get a general picture … Continue reading Compose Your UseCases to Create New Functionality using Composite Reuse Principle
Converting Use Case Specs into Code (Part 2)
💡Your Code tell the what the app can do Photo by Oskar Yildiz on Unsplash Last article, we already learn how to create a use case specs. In this article, we will learn how to convert a use case specs to the code. I will bring the previous use case specs below : Load Transactions … Continue reading Converting Use Case Specs into Code (Part 2)
From BDD Specs to Use Case Specs (Part 1)
About Use Case Specs Image by AbsoluteVision on Unsplash What is a use case specs? Use case specs is a readable document that derived from the BDD Specs. This document is more technical, so it is more suitable for developers. the use case specs reflects the precondition, steps, happy path (if success), and sad path … Continue reading From BDD Specs to Use Case Specs (Part 1)