What exactly is the usecase that you're trying to solve?

Can you provide a textual scenario where you'd need this feature?

Cheers

On 19/12/2012 00:22, Foley, Brooks (GE Healthcare) wrote:

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

    publicvoidaStock(@Named("symbol") String symbol,
    @Named("threshold") doublethreshold) {

        // ...

    }

    Brooks


Reply via email to