Package org.jbehave.core.io

Examples of org.jbehave.core.io.StoryFinder


        this.storiesClass = storiesClass;
        this.storyFileExtension = storyFileExtension;
    }

    public List<String> findStoryPaths() {
        return new StoryFinder().findPaths(getLocation(), getStoryPattern(),
                EMPTY);
    }
View Full Code Here


        this.storiesClass = storiesClass;
        this.storyFileExtension = storyFileExtension;
    }

    public List<String> findStoryPaths() {
        return new StoryFinder().findPaths(getLocation(), getStoryPattern(),
                EMPTY);
    }
View Full Code Here

*/
public class DefaultAccountStories extends PortalStories {

  @Override
  protected List<String> storyPaths() {
    return new StoryFinder().findPaths(codeLocationFromClass(this.getClass()).getFile(), asList("**/*.story"), null);
  }
View Full Code Here

*/
public class NewUserStories extends PortalStories {

  @Override
  protected List<String> storyPaths() {
    return new StoryFinder().findPaths(codeLocationFromClass(this.getClass()).getFile(), asList("**/newuser.story"), null);
  }
View Full Code Here

*/
public class AdminStories extends PortalStories {

  @Override
  protected List<String> storyPaths() {
    return new StoryFinder().findPaths(codeLocationFromClass(this.getClass()).getFile(), asList("**/deleteNewUser.story"), null);
  }
View Full Code Here

        includes.add("**/*.story");

        List<String> excludes = new ArrayList<String>();
        excludes.add("**/configuration.story");
        excludes.add("**/navigate_app.story");
        return new StoryFinder().findPaths(
                CodeLocations.codeLocationFromURL(storyUrl), includes,
                excludes);
    }
View Full Code Here

  }
 
  @Override
  public List<String> storyPaths() {
    configuredEmbedder().useMetaFilters(filters);
    return new StoryFinder().findPaths(CodeLocations.codeLocationFromURL(storyUrl), "**/configuration.story","");
  }
 
View Full Code Here

        return new InstanceStepsFactory(configuration(), new MySteps(), new SeleniumProvider());
    }

    @Override
    protected List<String> storyPaths() {
        return new StoryFinder().findPaths(codeLocationFromClass(this.getClass()), "**/new*.story", "**/excluded*.story");
               
    }
View Full Code Here

*/
@RunWith(JUnitReportingRunner.class)
public class Stories extends JUnitStories {
    @Override
    protected List<String> storyPaths() {
        return new StoryFinder().findPaths(CodeLocations.codeLocationFromPath("src/test/resources"),
                "**/*.story",
                "**/exclude_*.story");
    }
View Full Code Here

public class ManipulationTest {

    @Test
    public void run() throws Throwable {
        Embedder embedder = new ManipulationEmbedder();
        List<String> storyPaths = new StoryFinder().findPaths(codeLocationFromClass(this.getClass()), "**/bdd/manipulation*.story", "");
        embedder.runStoriesAsPaths(storyPaths);
    }
View Full Code Here

TOP

Related Classes of org.jbehave.core.io.StoryFinder

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.