Not Able to execute code in Cucumber Framework..!! | Selenium Forum
M
Posted on 22/12/2015
Hi,

I was trying to implement Cucumber framework by seeing the demo module 42. I have implemented the basic code just to check whether the lines are printing or not. When I'm trying to execute it using runner class, the code is not getting execute saying "Test class not found in selected project". I am sending you my Pom.xml and code along with the screenshot of my execution error. please check and help me out where I am doing the mistake.

M
Replied on 22/12/2015

add path to you feature file

[quote:3m0mgzp8]
@Cucumber.Options(
format = {
"pretty",
"html:target/cucumber-html-report",
"json-pretty:target/cucumber- report.json"
},
features="features="src/test/resources""
)[/quote:3m0mgzp8]