cucumber / cucumber-eclipse

Eclipse plugin for Cucumber
MIT License
190 stars 147 forks source link

While Launching feature file in Cucumber getting error:You are using deprecated Main class. Please use io.cucumber.core.cli.Main #428

Closed rinky3211 closed 3 years ago

rinky3211 commented 3 years ago

Mar 28, 2021 11:24:33 AM cucumber.api.cli.Main run WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main Mar 28, 2021 11:24:33 AM io.cucumber.core.runtime.FeaturePathFeatureSupplier get WARNING: No features found at file:/E:/Selenium%20Demo/Cucumber_Practice/src/test/java/appFeatures/search.Feature

0 Scenarios 0 Steps 0m0.052s

┌───────────────────────────────────────────────────────────────────────────────────┐ │ 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://reports.cucumber.io/docs/cucumber-jvm │ │ │ │ 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 │ └───────────────────────────────────────────────────────────────────────────────────┘

laeubi commented 3 years ago

This is a duplicate of #370

Galphat commented 3 years ago

How to resolve it?

ChPrasath commented 2 years ago

how to solve it..?