是否有任何非开发人员工具来编辑小黄瓜文件? [英] Are there any non-developer tools to edit gherkin files?

查看:16
本文介绍了是否有任何非开发人员工具来编辑小黄瓜文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gherkin 语法文件只是纯文本,因此可以使用任何编辑器,例如记事本.但是,我们使用它的更重要的事情之一是提供样本数据表.如果没有良好的格式化选项,文件将变得难以阅读.

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.

有一些很好的工具(参见:如何在 Visual Studio 中为 .feature 文件获取 Gherkin 语法高亮显示?) 用于 Visual Studio,例如 specflow.org 或 https://github.com/henritersteeg/cuke4vs.Cucumber IDE 用于自动完成功能编写? 但是我不想为我们的业务分析师安装它.

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.

这是一个语法高亮文件(http://productive.me/develop/cucumbergherkin-syntax-highlighting-for-notepad/) 可以导入notepad++,但对表格格式没有任何作用.

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.

是否还有其他我可能错过的允许非开发人员有效编辑 .feature gherkin 文件的选项?

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

推荐答案

似乎有几个项目正在进行中.

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.

这篇关于是否有任何非开发人员工具来编辑小黄瓜文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆