Hi Diogo,

yes, you can run your storys from any place... (http://jbehave.org/reference/latest/running-stories.html)

public class RemoteTraderStories extends TraderStories {
@Override
    public Configuration configuration() {
        return super.configuration()
               .useStoryLoader(new LoadFromURL())
               .useStoryReporterBuilder(
                       new StoryReporterBuilder()
* .withCodeLocation(codeLocationFromURL("http://jbehave.org/reference/examples/stories/";))*
                           .withDefaultFormats()
                           .withFormats(CONSOLE, TXT, HTML, XML));
    }

take a look on Trader examples sources... it a good place to learn...

And there is some portuguese examples too... :-)

cheers



Diogo Luis Andrade Silva escreveu:
Hi,
I'd like to know if there's a way to configure JBehave to have the scenario and java file's in diferent directories, packages or computers, like: ..\jbehave\java\LoginTest.java
..\jbehave\scenarios\login_test.scenario
OR \\computer1\..\jbehave\java\LoginTest.java <file://%5C%5Ccomputer1%5C..%5Cjbehave%5Cjava%5CLoginTest.java> \\computer2\ <file://%5C%5Ccomputer2%5C..%5Cjbehave%5Cscenarios%5Clogin_test.scenario>..\jbehave\scenarios\login_test.scenario <file://%5C%5Ccomputer2%5C..%5Cjbehave%5Cscenarios%5Clogin_test.scenario> Thanks,
Diogo Luis Andrade Silva

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

   http://xircles.codehaus.org/manage_email


Reply via email to