Search⌘ K
AI Features

Introduction to State Machine Properties

Explore the concept of finite state machines and understand how state machine properties in PropEr help model and test stateful systems efficiently. This lesson covers why state machine properties are essential for testing programs with multiple states, offering a structured way to handle transitions and interactions.

Finite state machines

Finite state machines (FSM) are, informally speaking, an abstraction describing specific stateful programs. The program can be in only one of the multiple known states at any given time and transitions from one state to another based on specific inputs or events. For instance, a traffic light can only be red, yellow, or green at any one time and ...