What is best or optimal way for matching step defs with lines in Cucumber feature file?

Hi Guys,

I am working on a Cucumber-JVM, task,  writing step-defs for business provided features.
What are the best practices in Step-def writing (in terms of reg-ex matching)?
And Cucumber special character.

I would like to avoid incorrect matches / too general matches happening due to wild characters.

Kindly put some light on this.


Train Asked on December 15, 2015 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.