Skip to content

Check behavior

Check behavior

Know the model works before anything is built

A drawing that nobody can check is only a drawing. Studio lets you check a model two ways: small examples on each slice, and the whole model running as an application.

Both ways use the model you already drew, so there is nothing to set up. A specification is one example, written as what has already happened, what is done, and what must follow. Play starts the model as a working application that you can click through. Use specifications to pin down the rules, and Play to see how the whole thing feels.

Specifications under the Sales slices, each with a Caller, Given, When and Then row
Specifications sit under the slice they check, so the examples and the model change together.