Scenarios

@safe
template Scenarios () if (
isFeature!M
) {}

Return Value

An alias-sequency of all scenarios in the feature module M

Examples

//
   import tagion.behaviour.BehaviourUnittest;

   alias scenarios = Scenarios!(tagion.behaviour.BehaviourUnittest);
   alias expected_scenarios = AliasSeq!(
           Some_awesome_feature,
           Some_awesome_feature_bad_format_double_property,
           Some_awesome_feature_bad_format_missing_given,
           Some_awesome_feature_bad_format_missing_then);

   static assert(scenarios.length == expected_scenarios.length);
   static assert(__traits(isSame, scenarios, expected_scenarios));