gherkin-lint:用JavaScript编写的Gherkin lintervalidator

时间:2021-05-08 16:03:27
【文件属性】:
文件名称:gherkin-lint:用JavaScript编写的Gherkin lintervalidator
文件大小:178KB
文件格式:ZIP
更新时间:2021-05-08 16:03:27
linter gherkin cucumber cucumber-js gherkin-lint 小Cucumber皮棉 使用解析功能文件,并根据默认规则以及您在.gherkin-lintrc文件中指定的可选规则.gherkin-lintrc 。 安装 npm install gherkin-lint 演示版 要查看lint可以检测到的所有错误的输出,请执行以下操作: git clone https://github.com/vsiakka/gherkin-lint.git npm run demo 或检查此: 可用规则 名称 功能性 no-tags-on-backgrounds * 禁止在背景上标记 one-feature-per-file * 禁止在同一文件中使用多个功能定义 up-to-one-background-per-file * 禁止在同一文件中使用多个背景定义 no-multiline-steps * 禁止残废步骤 只允许列出的标签 将功能文件名称限制为

网友评论