What libraries do I need to add to get cucumber support?
已回答
I'm trying to set up a basic project using Cucumber support in Intellij IDEA (NOT using Maven). I've added cucumber-core-1.2.5 and cucumber-java-1.2.5. That gives me the error that it can't find gherkin/formatter/Formatter, so I add gherkin-2-12-2 as a dependency. Now it can't find cucumber/deps/com/thoughtworks/xstream/converters/ConverterRegistry - I have no idea where to look for that one.
The only help I can find tells me to add the libraries but doesn't tell me what libraries to add. So what do I have to do to get Cucumber to work?
请先登录再写评论。
There is a screenshot showing which libraries to add:
I have all of those except cucumber-html. When I try to add that one I get a message that "IDEA cannot determine what kind of files the chosen item contains". I don't know either, so I have no idea what to tell IDEA. How do I resolve that?
Please check https://github.com/avokin/cucumber-java-minimum-example for the sample project.