Thanks for the reply !

I'm new to "jbehave world" therefore I'm not so familiar with the 
configuration of the test.
I was wondering how I can extend the story timeout execution.

I've tried to use 
public EmbedderControls 
<http://jbehave.org/reference/stable/javadoc/core/org/jbehave/core/embedder/EmbedderControls.html>
 
useStoryTimeoutInSecs(long storyTimeoutInSecs)

in Story runner file but it didn't work, the story didn't stop after the 
overridden timeout ...

could you post some code example ?

Thanks

On Tuesday, June 9, 2015 at 6:23:56 PM UTC+3, mauro.talevi wrote:
>
>  There is an example of story timeouts (and a custom timeout parser) in 
> the threads examples:
>
>
> https://github.com/jbehave/jbehave-core/blob/master/examples/threads/src/main/java/org/jbehave/examples/threads/ThreadsStories.java
>  
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjbehave%2Fjbehave-core%2Fblob%2Fmaster%2Fexamples%2Fthreads%2Fsrc%2Fmain%2Fjava%2Forg%2Fjbehave%2Fexamples%2Fthreads%2FThreadsStories.java&sa=D&sntz=1&usg=AFQjCNGehYZUVQol4F2i6j7XShQnDxe1sA>
>
> For backward compatibility, the property storyTimeoutInSecs still works 
> but it deprecated. 
>
> If you have a specific use case in mind, feel free to share it and we can 
> amend the example. 
>
> On 09/06/2015 16:14, igal epshtein wrote:
>  
> Hi,  
>
>  Could you please provide an example , how story timeout might be changed 
> through the code.
>
>  Thanks
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "JBehave User" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/jbehave-user/8f66d5ec-1b50-434c-9154-a5946f566c89%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jbehave-user/8f66d5ec-1b50-434c-9154-a5946f566c89%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"JBehave User" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/jbehave-user/8a7b634d-d903-4670-98eb-0dbdb4adfd9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to