Re: [jbehave-user] When hook

2014-09-13 Thread Mauro Talevi
No, but why would you want to do that? Can you explain your usecase? On 13/09/2014 02:46, Chad Wilson wrote: Is there any way to run something before all When steps? Chad - To unsubscribe from this list, please visit:

Re: [jbehave-user] Stories' Dependency

2014-09-13 Thread Mauro Talevi
We could add an anchor to the given story path that indicates that it should only be executed once per run context. On 12/09/2014 16:06, Mauro Talevi wrote: There is no such behaviour built-in. You can nonetheless implement some state logic in your story A so that if successful it won't get

Re: [jbehave-user] When hook

2014-09-13 Thread Chad Wilson
We've got some complex interactions we're mocking. Part of the Given statements are going to be mock setup. Because we don't know ahead of time which mocks will need to be setup, it would simplify things if we could just iterate over their builders and register them accordingly before the