Use cases

A use case is a statement about how an entity uses a system. Entity here refers to a type of user or a component interacting with the system. In use case definitions, entities can also be referred to as actors.

We start off by identifying the actors in the messenger system. A glaringly obvious actor is the user of the application (the person that uses the application to satisfy their messaging needs). Another actor that ideally should be considered is the admin. For the purpose of this simple messenger application though, we will cater for the single user actor. The use cases of the user are as follows:

  • The user uses the messenger platform to send and receive messages
  • The user uses the messenger platform to view other users on ...

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.