JUnit Runner not recognizing glue in Cucumber version 6.8.1 | Selenium Forum
A
Amrutha Pai Posted on 06/11/2020

Hi,

 

JUnit Runner not recognizing glue in Cucumber version 6.8.1

Below is my Runner file : 

 

@RunWith(Cucumber.class)
@CucumberOptions(features= {"src/test/resources/com/test/cucum/Rediff"},
glue= {"com/test/cucum/Rediff"},
monochrome=true,
plugin= {"pretty","html:target/cucumber"}

 

)

public class RunCukes {

}

 

 

Every time I work on Cucumner project, I face a lot of versioning issues. Its not allowing me to use Cucumber version 4.8.0. 


A
Ashish Thakur Replied on 06/11/2020

We are coming up with version 6 videos in some days

Please switch back to version told in videos as of now


A
Amrutha Pai Replied on 06/11/2020

Switching back to 4.8.0 is giving below exception : 

No backends were found. Please make sure you have a backend module on your CLASSPATH.


A
Ashish Thakur Replied on 08/11/2020

        <artifactId>cucumber-java</artifactId>
        <artifactId>cucumber-junit</artifactId>

Have you added both these dependencies?


A
Amrutha Pai Replied on 09/11/2020

yes


A
Ashish Thakur Replied on 10/11/2020

Switch to version 4 explained in videos

In few days we are coming with version 6 videos as well


Related Posts