When you submit sorties to Jbehave with
@Override
public InjectableStepsFactory stepsFactory()
{
return new InstanceStepsFactory(configuration(),
new LoginSteps(), new PreferencesSteps(), new BetterSteps());
}
They are executed in BetterSteps, LoginSteps, PreferencesStpes fasion. How do I make these classes having scenarios execute in a custom order which is not alphabetical? Say LoginSteps followed by PreferenceSteps followed by BetterSteps etc?