How to install Cucumber-JVM on Eclipse

╄→гoц情女王★ 提交于 2019-11-28 03:08:47

问题


I have searched all over the internet but a newbie on java I cant figure out how to simply install Cucumber-jvm on Eclipse.

What files do I need to download? I already installed Eclipse. What do I need to do to get Cucumber-JVM on Eclipse?


回答1:


If you mean the Cucumber plugin for Eclipse you can do this by:

  1. Open Eclipse, Click Help → Install New Software.
  2. Click Add button at right side of 'Work with' field.
  3. Give the Name say cucumber-eclipse and input the URL http://cucumber.github.com/cucumber-eclipse/update-site' at Location field -> Click OK.
  4. Check the box 'Cucumber Eclipse Plugin'.
  5. Untick 'Contact all update sites during install...'.
  6. Click Next.
  7. Follow the instructions at the prompts.



回答2:


Cucumber-JVM isn't an Eclipse library or plugin. You can download it in a variety of ways (I find Maven the easiest), and include it in your code.




回答3:


Why didn't you try this plugin? I think it should be greater for your cucumber coding than the official plugin: BecauseCucumber

Installation steps are there: BecauseCucumber Installation




回答4:


You can find how to install Cucumber-jvm in the Cucumber documentation

In addition, you'll need the Eclipse plugin.



来源:https://stackoverflow.com/questions/14538854/how-to-install-cucumber-jvm-on-eclipse

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