0

这是我的代码

@CucumberOptions(       
    features = "src/testresources",
    glue={"Nismo.live.stepsdefinition"},
    tags = {"@CreateNewCourse.Feature,@CreateNewUserAndEnrolledToaCourse.Feature,@LoginLockout.Feature,@LoginOnNismo.Feature,@StudentCarryoverAttempresults.Feature"}           
)

public class CucumberRunnerNismo {
}

错误:

[src/testresources] 中的所有功能均不匹配过滤器:[@CreateNewCourse.Feature,@CreateNewUserAndEnrolledToaCourse.Feature,@LoginLockout.Feature,@LoginOnNismo.Feature,@StudentCarryoverAttempresults.Feature]

0 场景 0 步骤 0m0.000s

4

1 回答 1

0

features = "src/testresources", => 这需要是 features = "src/test/resources" 吗?和/或删除像 Grasshopper 建议的标签。

于 2018-03-15T13:51:09.080 回答