How can i do multiline commenting for my feature steps for Calabash with Ruby

Raj Chinta picture Raj Chinta · Oct 31, 2014 · Viewed 14k times · Source

I was trying to comment multiple steps for my calabash Feature file (Ruby) using """.I'm using # for commenting single lines for my features but cant able to do for multiple lines. Can you please suggest me any ways to comment multiple lines.I'm using latest version of calabash with Ruby v 2.0

Answer

NarendraC picture NarendraC · Mar 11, 2015

There are ways to comment code or delineate docstrings in Gherkin:

  1. Single line -> use # symbol

  2. Multiple lines -> use """ (i.e. three double-quote marks)

The inspiration for PyString comes from Python.

Friends, Don't forget to vote if resolve your issue.