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

2012-01-05 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

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

2012-01-05 Thread Sheldon
On 1/5/12 10:10 AM, Sheldon wrote: 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

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

2012-01-05 Thread Sheldon
On 1/5/12 11:14 AM, Sheldon wrote: On 1/5/12 10:10 AM, Sheldon wrote: 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

[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