Re: [jbehave-dev] Override step in Jbehave

2015-04-13 Thread Mauro Talevi
*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 parametrised scenarios, where the values are replaced at the each execution. The table

Re: [jbehave-dev] Override step in Jbehave

2015-04-13 Thread Mauro Talevi
@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/src/main/java/org/jbehave/examples/core/steps/TraderSteps.java Look for: public

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

RE: [jbehave-dev] Override step in Jbehave

2015-04-12 Thread Patel, Nikunj (GE Healthcare)
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: https://github.com

Re: [jbehave-dev] Override step in Jbehave

2015-04-07 Thread Mauro Talevi
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, thanks

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

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

RE: [jbehave-dev] Override step in Jbehave

2015-04-03 Thread Patel, Nikunj (GE Healthcare)
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 be associated to a custom