'cucumber' is not recognized as an internal or external command

人走茶凉 提交于 2019-12-25 04:43:46

问题


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 ---

What am I missing here?


回答1:


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

In this case, you should see Cucumber Installation..

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.



来源:https://stackoverflow.com/questions/31315181/cucumber-is-not-recognized-as-an-internal-or-external-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!