Proper way to write an Use Case Description

0 votes
asked Nov 11, 2017 in To be sorted by NclLnd (120 points)

I'm trying to mimic a Use Case Description using salt. This is what I'd like to achieve.

I've come up with this

@startsalt

{#

Nome | .

Descrizione | .

Attori | .

Precondizioni | .

Postcondizioni | .

Flusso di controllo principale | .

Flussi di controllo alternativi | {T+

# Step1        | .

## SubStep1     | .

### SSubStep1    | .

### SSubStep2    | .

### SSubStep3    | .

}

Eccezioni | .

}

@endsalt

Is there a better way to do it? Am I missing something?

Thank you for this amazing tool.

1 Answer

+1 vote
answered Nov 15, 2017 by plantuml (294,960 points)
selected Nov 16, 2017 by NclLnd
 
Best answer
Salt has not be designed for table, but yes, you can use it like this.

There are some support for table in creole also (see http://plantuml.com/creole ) but with many limitations, so your solution is better

http://www.plantuml.com/plantuml/uml/DOyn3eCm34LtJl7dd8AgBDtR0uHWYYLmsjWH2uUlQTh5ilpzlvzxjLYiRcjNbL9KmfnpjzAJPEeEIDm81-uBmNLSpuKsSp64sn22onS1JoJ6CrE1BT70YYhyhWJBe9WMFFx-PXr8K-6NSPQMWR4mpL1oaoHgCKvdfDZFtXf4mHx5zCmT2N5SloUcxBdEZ1zwxyM_-W00

Maybe we are going to improve table support in creole (at least to have \n in cells)
commented Nov 16, 2017 by NclLnd (120 points)
Ok cool. Thank you for your time!
...