Java 执行器不显示在诱惑报告中
执行人未在诱惑报告中显示。我创建了一个executor.json文件,该文件只有一个属性,即tester,如下代码所示 executor.jsonJava 执行器不显示在诱惑报告中,java,testng,allure,Java,Testng,Allure,执行人未在诱惑报告中显示。我创建了一个executor.json文件,该文件只有一个属性,即tester,如下代码所示 executor.json {"Tester":"Suhail"} 当我生成报告时,我没有得到Executor字段,它显示为未知,如下面所附的屏幕截图所示 我正在使用诱惑2.13.2版 有谁能帮我找出哪里出了问题吗我正在浏览这篇文章,发现很有趣,所以将其作为答案发布,如果有人对此有更多详细信息,请粘贴您的答案 这是我的发现 在executor.json文件中,我们需要如下所
{"Tester":"Suhail"}
当我生成报告时,我没有得到Executor字段,它显示为未知,如下面所附的屏幕截图所示
我正在使用诱惑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
}
我只能找到这么多,如果有人知道如何输入更多执行者的记录,请告诉我。因为您已经发现,如果生成报告时您的诱惑结果文件夹中有Executor.json文件,则会显示执行者 该文件通常由您的构建者生成,例如Jenkins和allure插件 如果要在此处手动添加这些信息,请选择文件的外观:
{
"name": "Jenkins",
"type": "jenkins",
"url": "http://example.org",
"buildOrder": 13,
"buildName": "allure-report_deploy#13",
"buildUrl": "http://example.org/build#13",
"reportUrl": "http://example.org/build#13/AllureReport",
"reportName": "Demo allure report"
}