java - 执行者未显示在 Allure 报告中
问题描述
执行者没有显示在 Allure 报告中。我创建了一个executor.json文件,它只有 1 个属性,即 tester,我们可以看到下面的代码
执行器.json
{"Tester":"Suhail"}
当我生成报告时,我没有得到 Executor 字段,它显示为Unknow,您可以看到下面附上的屏幕截图
我正在使用 Allure version-2.13.2
谁能帮助我哪里出错了
解决方案
我正在经历这个并发现很有趣,所以将其发布为答案,如果有人对此有更多详细信息,请粘贴您的答案。
所以这是我的发现,
在 executor.json 文件中,我们需要有如下一般语法
{"name":"Suhail", // this will print the tester name on the report
"buildName":"Give the project Name", // if this attribute is not given that **Unknown** is displayed
"type":"jenkins" // if this attribute is not given we will be getting a user icon next to the name else a hat icon will be displayed
}
我只能找到这么多,如果有人知道如何输入更多执行人记录,请告诉我。
推荐阅读
- reactjs - 如何访问`
- r - R中三个变量之间的相关性分析
- node.js - 为什么我的外键列在使用 Sequelize 和 Postgres 发送 POST 请求后返回两次?
- express - “accessibleFieldsPlugin”不包含虚拟字段
- sqlite - 从一个表中选择满足另一个表条件的字段
- javascript - 如何将“拖放”文件上传功能添加到简单的 Web 表单?
- python - python中的ODE求解系统;在本次通话中完成的多余工作
- discord.py - 多个任务未运行
- python - 我正在尝试制作一个 youtube 下载器电报机器人,但我遇到了一些问题,有人可以帮助我吗?
- javascript - JavaScript 模板字符串不显示我的值