Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any non-developer tools to edit gherkin files? [closed]

Gherkin syntax files are just plain text so any editor such as notepad can be used. However, one of the more important things we are using this for is to provide tables of sample data. Without good formatting options the files become hard to read.

There are some good tools (see: How to get Gherkin syntax highlighting for .feature files in Visual Studio?) for visual studio such as specflow.org or https://github.com/henritersteeg/cuke4vs. Another option for developers using eclipse is discussed at Cucumber IDE for feature writing with autocomplete? However I don't want to require it be installed for our business analysts.

Here is a syntax highlighter files (http://productive.me/develop/cucumbergherkin-syntax-highlighting-for-notepad/) that can be imported into notepad++ but it does nothing for table formatting.

Are there any other options that I might have missed for allowing non-developers to efficiently edit .feature gherkin files?

like image 321
toddles2000 Avatar asked Nov 25 '11 23:11

toddles2000


People also ask

How do I import Gherkin into Notepad ++?

You can download it from the Automation Panda Github repository – the file is named gherkin_npp_udl. xml. Import it into Notepad++ through the User Defined Language window, and you're ready to go! If you download my UDL file from GitHub, make sure to download it as a raw XML file.

What is Gherkin editor?

The Gherkin Editor is a desktop based editor for feature files. It differs from other editors in its excel-style editing of step and example tables.

What is the file extension of Gherkin?

All Gherkin files have the . feature file extension. They contain a single Feature definition for the system under test and are an executable test script.

What is Rule in Gherkin?

The purpose of the Rule keyword is to represent one business rule that should be implemented. It provides additional information for a feature. A Rule is used to group together several scenarios that belong to this business rule. A Rule should contain one or more scenarios that illustrate the particular rule.


1 Answers

Here is a non-developer tool. We had a similar requirement and I wanted to have a stab at creating a Chrome extension. It's free and there are no ads. Above all it is cross-platform and requires no technical knowledge to install and run. https://chrome.google.com/webstore/detail/tidy-gherkin/nobemmencanophcnicjhfhnjiimegjeo

I know this is an old post, but I came across it when I was looking for a solution and I didn't think the answers fully addressed the OP's request for a non-dev tool (presumably aimed at a non-technical person).

It's a first attempt, so be kind! Hope someone finds it useful.

like image 100
ItsMe-Rodders Avatar answered Sep 25 '22 22:09

ItsMe-Rodders