我试图作为一个Maven项目执行,我已经在pom文件中添加了依赖项,并且在maven依赖项中也可以找到cummingar-junit jars。但是我仍然无法导入合适的罐子。得到" The import cucumber.api.junit cannot be resolved "。请找到随附的屏幕截图
在Maven中添加的依赖项是
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
Run Code Online (Sandbox Code Playgroud)
TestRunner类的文件夹结构