prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
132 stars 38 forks source link

JunitReporter Issue while running Test Runner #85

Closed khuddusgithub5 closed 5 years ago

khuddusgithub5 commented 5 years ago

Hi,

I am getting below error message.

java.lang.NoSuchMethodError: cucumber.runtime.junit.JUnitReporter.(Lgherkin/formatter/Reporter;Lgherkin/formatter/Formatter;ZLcucumber/runtime/junit/JUnitOptions;).

Please suggest what changes do I need to do?

prashant-ramcharan commented 5 years ago

Looks like Cucumber is not in your classpath or you are using an incorrect version.

What Cucumber version is in your build.gradle or POM.xml?

Looks similar to your previous issue: https://github.com/prashant-ramcharan/courgette-jvm/issues/83

khuddusgithub5 commented 5 years ago

I am using following cucumber packages after commenting info.cukes compile("junit:junit:4.11") testCompile 'io.github.prashant-ramcharan:courgette-jvm:1.4.3' testCompile group: 'io.cucumber', name: 'cucumber-junit', version: '2.0.0

prashant-ramcharan commented 5 years ago

Please share a project on github which can reproduce this for me to investigate further.

prashant-ramcharan commented 5 years ago

Please try using Courgette version 3.0.0 which was just released.