Re: [jbehave-user] Re: JBehave Stories Best Practices?

2013-12-04 Thread Hans Schwäbli
Thank you for your responses. I don't know if the overhead of writing HTML documentation (no Wiki exists instead) is too large for me. I will think over it. Currently it looks like this (just a draft to be discussed): General: - Use comments sparingly. - Choose an appropriate language. If

Re: [jbehave-user] Re: JBehave Stories Best Practices?

2013-11-27 Thread Mauro Talevi
Hi Hans, thanks for starting this discussion. It is rather useful. I tend to agree with most of the points below but not all. Notably, I think stories should be independently executable, declaring via GivenStories all the preconditions they need. Scenarios are not necessarily independent and

Re: [jbehave-user] Re: JBehave Stories Best Practices?

2013-11-27 Thread Stephen de Vries
I’ve run into this same limitation and would also like to see a @BeforeClass type of functionality in JBehave. At the moment I’ve worked around this by breaking the cucumber recommendation and simply having the very first scenario in the story perform the data setup, and subsequent scenarios r