Defining use cases
The topology and inventory system allows users to manage network resources such as routers, switches, and networks. To enable this management, we have created a domain model in the previous chapter that represents the relationship between those resources. What we have to do now is construct the system's features in terms of the domain model. These features represent user intent when interacting with the system.
To make it possible to express use cases in both written and code form, we use Cucumber, a valuable tool to enable non-technical people to grasp the use cases that exist in the code.
By relying on Cucumber concepts such as features and scenarios, we can create use case descriptions that are easy to follow. The use case descriptions that are shaped using Cucumber can serve as references for developing use case interfaces.
Before creating the use case interfaces for the topology and inventory system, we first need to structure the use cases in...