Cucumber works on Eclipse but not on Jenkins

Posted by gforte on Stack Overflow See other posts from Stack Overflow or by gforte
Published on 2012-12-17T11:26:41Z Indexed on 2012/12/17 23:03 UTC
Read the original article Hit count: 280

Filed under:
|
|
|

I am successfully running Cucumber test on my java/maven eclipse project. But when I add my project do Jenkins I always get the following error "cucumber.runtime.CucumberException: No features found at []".

I read in this thread Setting cucumber-jvm options in Maven from the command line that:

...tests are running in separate JVM, so you need to specify that system property in the test plugin configuration (i.e. surefire or failsafe plugin config in your pom.xml)

But I am not quite sure how to do this. Can anyone help me?

PS: I am using "cucumber-java" and "cucumber-junit" dependencies.

© Stack Overflow or respective owner

Related posts about java

Related posts about maven