Skip to content

How do you document use cases? #180

Answered by kgrzybek
pawelpodsiadly asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @pawelpodsiadly,

I think we need to divide documentation into two areas:

  1. 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.

  2. 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:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pawelpodsiadly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants