de.telekom.test.bddwebapp.steps.ScannedStepsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bdd-web-app Show documentation
Show all versions of bdd-web-app Show documentation
Behavior-driven tests for web applications
package de.telekom.test.bddwebapp.steps;
import org.jbehave.core.configuration.Configuration;
import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;
import org.springframework.context.ApplicationContext;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import static java.util.Comparator.comparingInt;
/**
* Steps factory for automatic step instantiation by class path scan
*
* @author Daniel Keiss {@literal }
* @author Yasin Yildiz {@literal } - Coauthor of the optimized test level steps factory
*
* Copyright (c) 2018 Daniel Keiss, Deutsche Telekom AG
* This file is distributed under the conditions of the Apache License, Version 2.0.
* For details see the file license on the toplevel.
*/
public interface ScannedStepsFactory {
default InjectableStepsFactory scannedStepsFactory() {
List