Commas in Cucumber scenarios

32 views
Skip to first unread message

Simon Mouton

unread,
Dec 16, 2016, 8:05:15 AM12/16/16
to Cukes
Good day

I would like to know if I can use commas in cucumber scenario's,

here is my example:

@Given ("^that job a,b,c exists$")

 

End

Is the a,b,c legal?


Warm Regards,

Simon

Paolo Ambrosio

unread,
Dec 16, 2016, 11:47:50 AM12/16/16
to cu...@googlegroups.com
I can't see any reason why it shouldn't match. You can find many "java regex tester"s with Google to check your regexes.

Given that it's faster to try it yourself instead of writing here, I suspect you had problems with it. Didn't it match?

--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages