Hi i am new to cucumber java. i am trying to run a simple cucumber feature test. below are my feature file, step definition file and junit runner file. but i am not able to
The error means that cucumber.runtime.RuntimeOptions
has no constructor which takes a List
as argument.
Since all classes are part of cucumber, I suspect a bug in the release. Run mvn dependency:tree
and search the output for cucumber
. Make sure that you have only a single version of the dependency.
If your classpath is good, try an older version.
If that works, download the sources for cucumber and compile them. Does it work now? If so, open a bug report telling the Cucumber project that the latest release wasn't compile correctly.