Proper way to write an Use Case Description

0 votes
asked 6 days ago by NclLnd (160 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 2 days ago by plantuml (134,510 points)
selected 1 day ago 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 1 day ago by NclLnd (160 points)
Ok cool. Thank you for your time!
...