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