Forum Discussion

Raghu3112's avatar
Raghu3112
Occasional Visitor
3 years ago

cucumber.api.cli.Main run WARNING: You are using deprecated Main class. Please use io.cucumber.core.

I am not able to run the feature file in cucumber need help in resolving it.

 

Jul 25, 2022 8:29:58 PM cucumber.api.cli.Main run

WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main

 

0 Scenarios

0 Steps

0m0.147s

 

 

┌───────────────────────────────────────────────────────────────────────────────────┐

│ Share your Cucumber Report with your team at https://reports.cucumber.io         

│ Activate publishing with one of the following:                                   

                                                                                 

│ src/test/resources/cucumber.properties:          cucumber.publish.enabled=true   

│ src/test/resources/junit-platform.properties:    cucumber.publish.enabled=true   

│ Environment variable:                            CUCUMBER_PUBLISH_ENABLED=true   

│ JUnit:                                           @CucumberOptions(publish = true) │

                                                                                 

│ More information at https://cucumber.io/docs/cucumber/environment-variables/     

                                                                                 

│ Disable this message with one of the following:                                  

                                                                                 

│ src/test/resources/cucumber.properties:          cucumber.publish.quiet=true     

│ src/test/resources/junit-platform.properties:    cucumber.publish.quiet=true     

└───────────────────────────────────────────────────────────────────────────────────┘

No RepliesBe the first to reply