Package org.jbehave.core.steps

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


      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

Related Classes of org.jbehave.core.steps.ScanningStepsFactory

Copyright © 2018 www.massapicom. 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.