eclipse - Cucumber 没有在目标文件夹中生成 index.html 文件
问题描述
这是我的 testRunner 类中的代码:
package testRunners;
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"src/test/resources"},
glue = {"stepDef"},
plugin = {"pretty", "html:target/cucumber-reports"}
)
public class testRunner {
}
运行代码后,目标文件夹没有显示index.html文件(我刷新过多次)
它应该是这样的:
如何在目标文件夹中获取 index.html 报告?
解决方案
推荐阅读
- gitlab-ci-runner - 为多个 GitLab 存储库注册相同的运行器
- python - 使用重复块解析文件中的垂直文本
- python - 如何在不使用“with”语法的情况下在 python 中打开 csv 文件?
- python-3.x - 使用列表理解和随机性模拟掷硬币,代码首先工作然后挂起
- reactjs - 从 json 文件加载语言时的翻译问题
- javascript - 在 ReactJS 中获取调用到 PHP 文件返回未定义
- google-maps - 谷歌地图不工作 IE11 (sharepoint 2010)
- python - 蟒蛇 | 如何重载 __getitem__ 和 __setitem__ 以允许双索引?
- postgresql - 如何使用本地 PgAdmin 连接到 Divio postgres 数据库?
- c# - 大数据处理方法的最佳设计模式