If you're running via mvn, you need to configure it in the plugin's
<threads> field.
Command-line overrides programmatic configuration:
http://jbehave.org/reference/stable/configuration.html
On 13/09/2012 16:46, Roy de Kleijn wrote:
Hi,
I like to run my stories in multiple threads.
So, I changed this to the configuration code:
public MyStories() {
configuredEmbedder().embedderControls().doGenerateViewAfterStories(true).doIgnoreFailureInStories(true)
.doIgnoreFailureInView(true).useThreads(3).useStoryTimeoutInSecs(1800);
}
But I don't see concurrent execution of stories. What I'm doing wrong
here?
Thanks,
Roy