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