getAllActions

@safe
template getAllActions (
T
) if (
is(T == class) ||
is(T == struct)
) {}

Return Value

all the actions in a scenario

Examples

// Test of getAllActions
   alias actions = getAllActions!(BehaviourUnittest.Some_awesome_feature);
   static assert(actions.length == 7);
   static assert(allSatisfy!(isCallable, actions));
   static assert(allSatisfy!(hasActions, actions));