Jbehave not able to find the story

149 views Asked by At

When i am trying to run the Java class having @Test annotation as a part part of TestNG for JBehave it is giving org.jbehave.core.io.StoryResourceNotFound exception. 1: https://i.stack.imgur.com/ZU6eL.jpg Code: public class Runner extends ConfigurableEmbedder {

public Embedder embedder;
@Test
public void run() {
    // TODO Auto-generated method stub
    embedder = configuredEmbedder();
    embedder.configuration();
    System.out.println("I am runner");
    [Image attached for reference][1]
    String storypath= "GoogleSearch.story";
    embedder.runStoriesAsPaths(Collections.singletonList(storypath));
    
}
0

There are 0 answers