Use comma-separated values:
Given the user adds orange,apple to the cart
On 13/04/2012 11:28, Bhuvnesh Pratap wrote:
Hello All !
I came across a use case when you would want to have multiple value
for a particular
parameter in step such as :
Given the user adds orange:apple to the cart
@Given("the user adds $fruit to the cart")
public void addFruitToCart(List<String> fruit){
}
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email