Exploring with State Models

Now that you have a state model, you can use it as a guide. You can use your map to help you identify all the ways to get from State A to State B and to identify all the events that you can trigger in an attempt to interrupt the states. For that matter, you can use it to identify opportunities to find memory leaks or other bad behavior by cycling through event loops.

All the Ways

Discovering all the ways to get from one state to another can help you identify new ways of interacting with your software.

Consider a state model that can apply to absolutely any software system anywhere:

images/states_simple.png

At some point the system is Off. ...

Get Explore It! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.