Scripting Scenarios
Scenarios are a feature's essence. They reflect the change in the feature's behavior under different circumstances. We call this section Scripting Scenarios as Scenario
s are written similarly to a stage play or film script. They are written using prompts and specific actions for particular actors. Before we discuss how to script our Scenario
s, let's see how we can discover them first…
Discovering Scenarios
A good way to visualize scenarios is by using the metaphor of a Rubik's cube. Imagine that your feature is a Rubik's cube. You have it in your hands and you turn it around, looking at it from different angles. You notice how each side has different colors in different arrangements. It's the same cube, but each time you turn it, you discover some new image patterns and cell arrangements:
When discovering Scenario
s, we follow a similar mental...