How do you document use cases? #180
-
Hi, I have been wondering what would be the best approach to document use cases? Do you document all use cases using event storming notation? I find it hard to track what a given use case consist of when it looks for example like: Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @pawelpodsiadly, I think we need to divide documentation into two areas:
Implementation of one of the solution for point 2 will be one of my future project I think. |
Beta Was this translation helpful? Give feedback.
Hi @pawelpodsiadly,
I think we need to divide documentation into two areas:
Individual use case. In that case, my documentation is a set of tests (unit and integration) in AAA (Arrange, Act, Assert) / GWT (Given, When, Then) nomenclature. It is Executable Specification (BDD term), always synchronized and up to date.
System flow. This is harder to automate so at that moment I use the Event Storming technique and try to do it only for more complex flows. The drawback is that it is not synchronized with the code. There are 2 ways to solve this: