have created a project using QAF-Cucumber and using Junit. below if the dependency which has been added in my POM.xml
'''
<groupId>com.qmetry</groupId>
<artifactId>qaf-cucumber</artifactId>
<version>2.1.15-beta-3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.qmetry</groupId>
<artifactId>qaf</artifactId>
<version>2.1.15</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-multipart</artifactId>
</exclusion>
</exclusions>
</dependency>
'''
Cucumber runner code
'''
@RunWith(Cucumber.class)
@CucumberOptions(tags = { "@demo" }, features = "src/test/resources", glue = {
"com.sample.bdd.stepdef" }, plugin = { "com.qmetry.qaf.automation.cucumber.QAFCucumberPlugin" ,
"pretty"})
public class CucumberTest {
}
'''
on Maven Install, no scenarios are picked up for execution, please find below the console logs
'''
Running com.sample.bdd.CucumberTest
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@2437c6dc
log4j:WARN No appenders could be found for logger
(com.qmetry.qaf.automation.testng.pro.QAFAnnotationTransformer2).
log4j:WARN Please initialize the log4j system properly.
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.073 sec
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
'''