运行runner一直报You can implement missing steps with the snippets below:
后来发现是glue里写的不对
feature写feature文件的路径,比如src/main/java/com/example/features
glue写step的包路径,比如com.example.step
我之前一直把glue写成src/main/java/com/example/step,找不到step就报上面的那个错
@CucumberOptions(features = {"
src/main/java/com/example/features
"}, glue = {"
com.example.step
"}, tags = "@macroFilter" )
@RunWith(Cucumber.class)
public class PageMacroValidationTest { }