Examples of ScanningStepsFactory


Examples of org.jbehave.core.steps.ScanningStepsFactory

*/
public class CoreStoriesUsingScanning extends CoreStories {

    @Override
    public InjectableStepsFactory stepsFactory() {
        return new ScanningStepsFactory(configuration(), "org.jbehave.examples.core.steps").notMatchingNames(".*Failing.*");
    }
View Full Code Here

Examples of org.jbehave.core.steps.ScanningStepsFactory

      if (!packages.isEmpty()) {
        String matchingNames = finder.getAnnotatedValue(UsingSteps.class,
            String.class, "matchingNames");
        String notMatchingNames = finder.getAnnotatedValue(UsingSteps.class,
            String.class, "notMatchingNames");
        factory = new ScanningStepsFactory(configuration,
            packages.toArray(new String[packages.size()]))
            .matchingNames(matchingNames).notMatchingNames(notMatchingNames);
      }
        } else {
            annotationMonitor.annotationNotFound(UsingSteps.class, annotatedClass);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.