【发布时间】:2020-01-16 00:14:12
【问题描述】:
import cucumber.api.java.en.When; : After importing error message The type When is depreciated .This occur for all the annotataion & in Test Runner file its shows"The type CucumberOptions is deprecated".
我已经用 POM 安装了 Java 12
cucumber-java :4.7.2
cucumber-junit: 5.5.1
junit:4.12
版本 任何解决查询的建议..
【问题讨论】:
-
你读过java文档吗?