Sobia Ali edited a comment on Sub-task JBEHAVE-866

you both are overriding "storyPaths()" but I am not using it because I am extending my story from JUnitStory rather than JUnitStories.So I am not able to override this method.My code is here

public class ABCStory extends JUnitStory {

@Override

public Configuration configuration() { return new MostUsefulConfiguration() .useStoryLoader(new LoadFromClasspath(this.getClass().getClassLoader())) .useStoryReporterBuilder( new StoryReporterBuilder().withDefaultFormats() .withFormats(Format.CONSOLE, Format.HTML)); }

// Here we specify the steps classes
@Override

public List<CandidateSteps> candidateSteps() { return new InstanceStepsFactory(configuration(), new ABCSteps()) .createCandidateSteps(); }

@Override
@Test
public void run() {
try { super.run(); } catch (Throwable e) { e.printStackTrace(); }
}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to