No it did not work

 

From: Mauro Talevi [mailto:[email protected]] 
Sent: Wednesday, December 12, 2012 1:35 AM
To: [email protected]
Subject: Re: [jbehave-user] Mixing table alias with standalone alias

 

It's a usecase we've never explored. 

Worth a try.   Did you have a go and it didn't work? 

On 11/12/2012 23:43, Foley, Brooks (GE Healthcare) wrote:

        Is it possible to mix both a table alias with a standalone alias
in the same GWT statement?

         

        Given a stock of symbol $symbol and a threshold of <threshold>

         

        @Given("a stock of symbol $symbol and a threshold of
$threshold") // standalone

        @Aliases(values={"a stock with a symbol of $symbol and a
threshold of $threshold", // a standalone alias

                         "a stock of <symbol> and a <threshold>", // an
examples table alias

        "a stock of $symbol and a <threshold>"}) // an example of both
standalone and table alias

        public void aStock(@Named("symbol") String symbol,
@Named("threshold") double threshold) {

            // ...

        }

         

        Brooks

 

Reply via email to