Re: [jbehave-user] Can I reuse stories with two different implementations?

2012-01-04 Thread Brian Repko
Sheldon, I do this by having multiple version of my steps classes (not quite the same) and then load one Spring application context (against the web services) or the other (against the web application using Selenium). Again, not quite the same, but totally do-able. For me the implementation

[jbehave-user] Re: Can I reuse stories with two different implementations?

2012-01-04 Thread Sheldon
On 1/4/12 3:09 PM, Mauro Talevi wrote: Hi Sheldon, the recommended way to approach your problem would be to inject both service builder impls and then have a parameter to determine which is going to be used. E.g. Given I use the [HTTP or JMS] protocol The protocol would be stored in a member