

Templates for Feature, Scenario, and Scenario Outline sections may be inserted, as well as tables, rows, and columns.Īnother really nice feature of Tidy Gherkin is that the preview pane automatically generates step definition stubs for Java, Ruby, and JavaScript! The step def code is compatible with the Cucumber test frameworks. Feature files can be saved and opened like a regular text editor. The bottom preview pane automatically formats each line, and clicking the “TIDY!” button in the upper-left corner will format the user-entered text area as well. Gherkin text is automatically colored as it is typed. Once it is installed, it can be reached from the Chrome Apps page ( chrome://apps/). Tidy Gherkin is a Chrome app for editing and formatting feature files. Together, these two extensions provide a convenient, lightweight way to handle feature files. The Chrome Web Store has two useful extensions for Gherkin: Tidy Gherkin and Pretty Gherkin, both developed by Martin Roddam. Recently, I discovered that Chrome can edit and display Gherkin feature files. Google Chrome is one of the most popular web browsers around.
