By default, the .story files are looked up in the same package as the the Story* classes.

If you want a different behaviour, you can implement your own StoryPathResolver and configure it in the Configuration.

Cheers

On 19/09/2011 02:01, Robison Santos wrote:
Hi, I'm new here and I wonder how can I write a "JBehave project" with a structure like this:

-src
   - com
      - jbehave
         - mystories
                 - story1.story
                 - story2.story
         - mysteps
                 - Story1Steps.java
                 - Story2Steps.java
         - myconfig
                 - Story1.java
                 - Story2.java

Having, Story1.java and Story2.java subclasses of JUnitStory.

I'm trying, without success, to set those classes to find their specific stories in the path /com/jbehave/mystories, and I'm now out of ideas.
Is there a way to do that?

Thanks,
--
Robison W R Santos



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to