Re: [jbehave-dev] Override step in Jbehave

2015-04-13 Thread Mauro Talevi
:* dev@jbehave.codehaus.org *Subject:* Re: [jbehave-dev] Override step in Jbehave Hi, Sorry but I had misunderstood the usecase, the report will show the original textual value. What you might consider is parametrised scenarios, where the values are replaced at the each execution. The table

RE: [jbehave-dev] Override step in Jbehave

2015-04-13 Thread Patel, Nikunj (GE Healthcare)
? From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Monday, April 13, 2015 3:54 AM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Override step in Jbehave Hi, Sorry but I had misunderstood the usecase, the report will show the original textual value. What you might consider is

Re: [jbehave-dev] Override step in Jbehave

2015-04-13 Thread Mauro Talevi
gt; Sent: Tuesday, April 07, 2015 3:30 AM > To: dev@jbehave.codehaus.org > Subject: Re: [jbehave-dev] Override step in Jbehave > > Here's an example of dynamic lookup via a parameter converter method: > > https://github.com/jbehave/jbehave-core/blob/master/examples/core/sr

RE: [jbehave-dev] Override step in Jbehave

2015-04-12 Thread Patel, Nikunj (GE Healthcare)
converted string in report? Thanks, Nikunj From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Tuesday, April 07, 2015 3:30 AM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Override step in Jbehave Here's an example of dynamic lookup via a parameter converter method: htt

Re: [jbehave-dev] Override step in Jbehave

2015-04-07 Thread Mauro Talevi
j (GE Healthcare) wrote: Thanks Mauro. Can you please guide to the example (if any)? Thanks, Nikunj *From:*Mauro Talevi [mailto:mauro.tal...@aquilonia.org] *Sent:* Saturday, April 04, 2015 11:01 AM *To:* dev@jbehave.codehaus.org *Subject:* Re: [jbehave-dev] Override step in Jbehave Hi, thank

RE: [jbehave-dev] Override step in Jbehave

2015-04-05 Thread Patel, Nikunj (GE Healthcare)
Thanks Mauro. Can you please guide to the example (if any)? Thanks, Nikunj From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Saturday, April 04, 2015 11:01 AM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Override step in Jbehave Hi, thanks for explaining your scenario

Re: [jbehave-dev] Override step in Jbehave

2015-04-04 Thread Mauro Talevi
should do to test this kind of scenario? Thanks, Nikunj *From:*Mauro Talevi [mailto:mauro.tal...@aquilonia.org] *Sent:* Friday, April 03, 2015 6:15 AM *To:* dev@jbehave.codehaus.org *Subject:* Re: [jbehave-dev] Override step in Jbehave It's possible if you define your own custom converter, b

RE: [jbehave-dev] Override step in Jbehave

2015-04-03 Thread Patel, Nikunj (GE Healthcare)
to test this kind of scenario? Thanks, Nikunj From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Friday, April 03, 2015 6:15 AM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Override step in Jbehave It's possible if you define your own custom converter, but it should b

Re: [jbehave-dev] Override step in Jbehave

2015-04-03 Thread Mauro Talevi
It's possible if you define your own custom converter, but it should be associated to a custom parameter type, e.g. ErrorCode. Then you implement the value conversion logic in the parameter converter. That said, it does not really seem very logical to do this. What's your usecase? On 03/04/2