Issue with the MyTestRunner file when running cucumber with TestNG | Selenium Forum
A
abhi_tec Posted on 19/06/2021
 

Hi Team

when i run the MyTestRunner file I am getting error mentioned below. Not sure whats wrong with my class. I have attached the project for your quick help. Due to this I am not able to proceed cucumber framework. But when I ran the car.feature fileits working fine as expected.

Kindly look into issue.

 

 

[RemoteTestNG] detected TestNG version 6.9.10
[TestNG] Running:
C:\Users\abhichak.ORADEV\AppData\Local\Temp\testng-eclipse-1923167890\testng-customsuite.xml

Jun 19, 2021 3:54:07 PM io.cucumber.core.runtime.FeaturePathFeatureSupplier get
WARNING: No features found at classpath:/runner
[32m[1m?????????????????????????????????????????????????????????????????????????????????????[0m
[32m[1m?[0m Share your Cucumber Report with your team at [36m[1m[4mhttps://reports.cucumber.io[0m [32m[1m?[0m
[32m[1m?[0m Activate publishing with one of the following: [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/cucumber.properties: [36mcucumber.publish.enabled[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/junit-platform.properties: [36mcucumber.publish.enabled[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m Environment variable: [36mCUCUMBER_PUBLISH_ENABLED[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m JUnit: [36m@CucumberOptions[0m(publish = [36mtrue[0m) [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m More information at [36mhttps://reports.cucumber.io/docs/cucumber-jvm[0m [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m Disable this message with one of the following: [32m[1m?[0m
[32m[1m?[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/cucumber.properties: [36mcucumber.publish.quiet[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?[0m src/test/resources/junit-platform.properties: [36mcucumber.publish.quiet[0m=[36mtrue[0m [32m[1m?[0m
[32m[1m?????????????????????????????????????????????????????????????????????????????????????[0m

===============================================
Default test
Tests run: 0, Failures: 0, Skips: 0


A
abhi_tec Replied on 19/06/2021

 

Note in teh attachment you might see the features= "src/test/java",

I actually tried by putting the feature file under java and same issue i noticed. I have tried with features= "src/test/resources" value also after copying the feature file under resources folder. Issue is same.


A
Ashish Thakur Replied on 30/06/2021

No features found at classpath:/runner

Its not able to find features

 

Create a folder in resources and put there


Related Posts