POM for Cucumber Framework | Selenium Forum
A
Amrutha Pai Posted on 29/09/2020

Hi,

Can you please share POM.xml with latest versions of dependencies for Cucumber framework?

 

i cannot import below 2 imports 

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;

 

Even though I have below dependency in my POM

<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<version>4.8.0</version>
<scope>test</scope>
</dependency>

 


A
Ashish Replied on 30/09/2020

You can down code. Its there in downloaded code


A
Amrutha Pai Replied on 30/09/2020

I have POM with and its working in the framework which i was working on couple of months back but the same POM.xml is giving errors in the framework which  icreated yesterday. Below is th issue

 

i cannot import below 2 imports 

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;


A
Ashish Replied on 04/10/2020

Please check the version of cucumber.
lots of changes have happened in cucumber with time