Tagstate machine

How to Unit Test Finite State Machines

H

We use a lot of state machines in our projects. We use them for abstracting instruments that we control, controlling when user input controls have to be enabled or disabled and for other things. State machines are great for these kind of tasks (much easier that nested switch statements anyway) but they provide a big challenge when developing software test driven. This is due to the fact that they are of course very state full and often active (running on their own worker thread). Here are some...

Hierarchical State Machine with Fluent Definition Syntax (.NET)

H

The .NET component library bbv.Common (open source – Apache License 2.0) provides a powerful hierarchical state machine. Its features are: value type based (enums, ints, …) resulting in single class state machines. actions on transitions entry and exit actions (parametrizable) transaction guards hierarchical different history behaviours to initialize state always to same state or last active state fluent definition interface synchronous/asynchronous state machine passive state...

Recent Posts