不支持的测量仪版本:Gatellij的这个测量仪Inrsion仅适用于测量仪版本> = 0.9.0,未显示规格文件步骤 [英] Unsupported Gauge Version: This veuge Inrsion of Gatellij plugin only works with Gauge version >= 0.9.0, spec files steps are shown unimplemented

查看:44
本文介绍了不支持的测量仪版本:Gatellij的这个测量仪Inrsion仅适用于测量仪版本> = 0.9.0,未显示规格文件步骤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

//意外的量规插件错误出现

//unexpected gauge plugin error comes

我是一个全新的测量师,要求创建一个作为POC的样品测量仪项目,遵循官方文档,但出现了错误,无法使用,我被困在这里

I'm completely new to gauge and asked to create a sample gauge project as POC, followed the official documentation but got the error and couldn't come across and i'm stuck here

遵循的步骤:

  1. 我的系统中已经配置了JDK 1.8,并且已正确配置了环境/系统变量

  1. JDK 1.8 was already configured in my system with environment/system variables configured properly

安装了2019版的jetbrains intellij-IDEA.

Installed jetbrains intellij-IDEA of version 2019.

在机器上安装仪表并配置系统变量

Installed gauge on the machine and configured the system variable

然后按照博客中的建议创建一个maven项目并添加原型com.thoughtworks.gauge.maven:gauge-maven-pluginGroupId:"com.thoughtworks.gauge.maven:ArtifactId:"gauge-archetype-java"并选择了模板.

Then created a maven project and added a archetype as suggested in blog com.thoughtworks.gauge.maven:gauge-maven-plugin GroupId: "com.thoughtworks.gauge.maven: ArtifactId: "gauge-archetype-java" and selected the template.

在我的pom.xml文件中获得了两个量规的依赖项(量规java,量规插件).

got the couple gauge dependencies(gauge java, gauge plugin) in my pom.xml file.

验证了项目结构,列出了所有必需的目录.

verified the project structure, all required directories were listed.

但是当打开规格文件或打开IDE时,出现此错误,提示不支持的仪表插件错误,它必须为> = 0.9.0.

But when opened the spec file or as soon as i open my IDE i get this error saying unsupported gauge plugin error, it must be >=0.9.0.

这里需要一些帮助来摆脱这一点,因此,尽管已映射并开发了步骤实现,但.spec文件中的步骤仍存在错误,表明它们未实现.提前感谢

need some help here to get rid of that, because of which though the step implementation was mapped and developed still the steps in .spec file have error saying they are unimplemented.Thanks in advance

  1. 我正在遇到一个错误,该错误说的是git hub中的完全相同的错误,并检查了我的二进制路径以获取轨距,所以我已经手动将其从0.3.15更改为0.9.0.
  2. 路径设置为"C:/program Files/gauge/bin,我尝试使用我的量规插件库的路径对此进行更改例如:C:\ Users \ pradeep \ Downloads \ Gauge-Java-Intellij-0.3.15 \ Gauge-Java-Intellij \ lib

提出了一个新问题,因为我目前尚不清楚要更改的二进制路径或其他任何要修复的内容

raising a new question as i'm not currently clarified with what to change as my binary path or anyother to fix

https://github.com/kpkk/Gauge-POC -代码可用在这里,在我的git存储库上

https://github.com/kpkk/Gauge-POC - code is available here, on my git repositories

推荐答案

看起来像是在引用过时的博客和设置说明.您共享的示例POC在最新版本的Gauge v1.0.5和 IntelliJ-plugin v0上可以正常工作.3.15 .请尝试按照说明进行安装.

Looks like you're referring an outdated blog and setup instructions. The sample POC you shared works fine on the latest version of gauge v1.0.5 and IntelliJ-plugin v0.3.15. Please try following the instructions to install Gauge.

在安装了Gauge之后,通过在Windows命令提示符下运行以下命令来创建示例Maven项目.

After installing gauge create a sample maven project by running the following command on the windows command prompt.

gauge init java_maven

您可以在IntelliJ中打开这个新创建的项目

You can open this newly created project in IntelliJ

这篇关于不支持的测量仪版本:Gatellij的这个测量仪Inrsion仅适用于测量仪版本> = 0.9.0,未显示规格文件步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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