Decision Table

Represent a combination of conditional statements in a tabular form.

When you have code that composes several conditional statements, it can often be hard to follow exactly what combinations of conditions lead to what outcomes.

A Decision Table improves understandability by representing the group of conditions as a table, where each column shows the outcome for a particular combination of conditions.

For more details see chapter 48 of the DSL book

DSL Catalog