Skip to content

Support for option parameters? Eg Given("when (nothing|one thing|many things) have been added to the cart") #307

Discussion options

You must be logged in to vote

Reqnroll now uses Cucumber Expressions by default for the format of the string argument of the step binding attributes.

Since you want to use a regex expression, modify your binding expression to: "^when (nothing|one thing|many things) have been added to the cart$". This will force Reqnroll to treat the expression as a Regex.

Look at the Cucumber Expression documentation for more information.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mohsens22
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants