'cucumber'不被识别为内部或外部命令 [英] 'cucumber' is not recognized as an internal or external command

查看:737
本文介绍了'cucumber'不被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Netbeans 8.0.2。我从这里下载了Cucumber netbeans插件: https://github.com/QuBiT/cucumber-netbeans -plugin / downloads

I am on Netbeans 8.0.2. I downloaded Cucumber netbeans plugin from here: https://github.com/QuBiT/cucumber-netbeans-plugin/downloads

我的项目中有我的功能文件。现在,当我试图右键点击我的功能文件和生成类,我得到这个错误:

I have my feature file inside my project. Now when I try to Right click on my feature file and generate class I get this error:

--- START ---

'cucumber' is not recognized as an internal or external command,
operable program or batch file.
--- END ---

我在这里缺少什么?

推荐答案

看起来您在计算机上安装了黄瓜,但只安装了它的NetBeans插件。

Looks like you have NOT installed cucumber on your machine but have only installed its NetBeans plugin.

在这种情况下,您应该会看到 Cucumber安装 ..

In this case, you should see Cucumber Installation..

如果您在机器上安装了黄瓜,那么最可能的问题是您的机器的系统变量 PATH 包含 path / to / cucumber

If you have installed cucumber on your machine, then the most probable problem is that the System variable PATH of your machine does not contain the path/to/cucumber.

这篇关于'cucumber'不被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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