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

Feature/doc #35

Closed tdauth closed 5 years ago

tdauth commented 5 years ago

In the legacy code look at ActionStateSequenceOld.insertRandomActionUnsafe which was used for the insert mutation of a test case. It added a new action from one of the states. AbstractState.getNewRandomAction was never implemented but the paper states:

Insert operator: With decreasing probability (1.0, 0.5, 0.25) a new action is inserted into the sequence. Each insertion happens at a random position of the interaction sequence. A random unexplored action available in that state is chosen and inserted into the interaction sequence just after that state, if available, else we fallback to a random action.

To get a random unexplored action, we have to know which actions have been explored? This information is only available from the SUT model?

beatngu13 commented 5 years ago

Good catch!