retest / gui-state-machine-api

API for the creation and modification of incomplete state machines which represent the exploration of a GUI application.
2 stars 1 forks source link

Get action that lead to one state. #24

Closed PickHub closed 5 years ago

PickHub commented 5 years ago

It would be really useful to have a helper method in the GuiStateMachine that returns all actions that lead to one SutState, instead of only the getAllExploredActions method. Something like: getIncomingActions(SutState state).

beatngu13 commented 5 years ago

Or should State offer something like to() and from() / ingoing() and outgoing() / … to retrieve lists of actions?

PickHub commented 5 years ago

True, that would be better in terms of computation.

beatngu13 commented 5 years ago

Resolved via #25.