Are there any non-developer tools to edit gherkin files?
Solution 1
There seems to be a couple of projects in the works.
- There's a beta of a Gherkin editor here: http://gherkineditor.codeplex.com/ (windows)
- Cucumber's author has created a web-based gherkin editor (relies on javascript, Ace and Node.js). Perhaps a bit more complicated to set up, but it could be integrated into a CMS or other web-based system.
Neither really substitutes for a conversation with your business domain experts.
Solution 2
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.
Solution 3
Notepad++ can highlight Gherkin syntax - see http://productive.me/develop/cucumbergherkin-syntax-highlighting-for-notepad
Solution 4
If you are using JIRA you can try a plugin called Markin at https://marketplace.atlassian.com/plugins/com.fulstech.jira-gherkin-custom-field/server/overview. It supports both Gherkin and Markdown at the same time, so it is very useful for non-developers.
Disclaimer: I am the creator of Markin.
Solution 5
There is an updated eclipse plugin called xgherkins at github for eclipse users
toddles2000
Updated on December 05, 2020Comments
-
toddles2000 over 3 years
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?
-
Lunivore over 12 years+1 for conversations over capture.
-
toddles2000 over 12 yearsIt looks like the tooling focus of Gherkin editors is primarily targeted to developers. I guess I was hoping that a requirements team could help drive adoption of better specs rather than it having to come from the dev team. Conversations are extremely important but there still needs to be a good way to capture those discussions in a useful format that isn't just a word doc. Thanks for your input.
-
Per over 12 yearsWould you have some more info of that? The only results I get when googling "xgherkins" is this post...
-
Tom Howard about 12 yearsexactly what I was looking for
-
Nat Ritmeyer over 11 yearsThe question asked for "non-developer tools"...
-
EleventhDoctor over 10 yearsThe Gherkin editor is still in beta and crashed while I was using it, losing changes.
-
KIC about 6 yearsthe node version is 7 years without any commit, there is quote recent c# version github.com/bzquan/GherkinEditor one need to build it from source