执行者未显示在 Allure 报告中 [英] Executor is not displayed in Allure reports

查看:36
本文介绍了执行者未显示在 Allure 报告中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Executor 未显示在 Allure 报告中.我创建了一个 executor.json 文件,它只有 1 个属性,即 tester,我们可以看到下面的代码

Executor is not getting displayed in Allure reports. I have created a executor.json file which has only 1 attribute i.e., tester as we can see the code below

executor.json

{"Tester":"Suhail"}

当我生成报告时,我没有得到 Executor 字段,它显示为 Unknow,您可以看到下面附上的屏幕截图

when I generate the report I am not getting Executor field it is showing as Unknow as you can see the screenshot attached below

我使用的是 Allure 版本 2.13.2

I am using Allure version-2.13.2

谁能帮我哪里出错了

推荐答案

我正在经历这个并发现很有趣所以将其作为答案发布,如果有人对此有更多详细信息,请粘贴您的答案.

I was going through this and found out interesting so posting it as an answer,if anyone has more details on this please paste your answer.

这是我的发现,

在 executor.json 文件中,我们需要有如下的通用语法

in executor.json file, we need to have general syntax like below

{"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
}

我只能找到这么多,如果有人知道如何输入更多的执行者记录,请告诉我.

I could find only this much, if anyone know how to enter more records of executors then please let me know.

这篇关于执行者未显示在 Allure 报告中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆