Cucumber新手,记录遇到的问题

1. 错误it

Exception in thread "main" cucumber.runtime.CucumberException: You're not allowed to extend classes that define Step Definitions or hooks. class A extends class Bio

缘由:在类B中使用了cucumber的@before,去掉便可class

相关文章
相关标签/搜索