【发布时间】:2020-03-28 15:35:23
【问题描述】:
我有一个我认为很愚蠢的问题...... 我无法对黄瓜进行测试。
返回以下错误:
cucumber.runtime.CucumberException:
Classes annotated with @RunWith(Cucumber.class) must not define any
Step Definition or Hook methods. Their sole purpose is to serve as
an entry point for JUnit. Step Definitions and Hooks should be defined
in their own classes. This allows them to be reused across features.
Offending class: class Teste.testecucumber
有人可以帮忙吗?
谢谢!!
【问题讨论】:
标签: java selenium automation automated-tests cucumber