问题
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"}
when I generate the report I am not getting Executor field it is showing as Unknow as you can see the screenshot attached below
I am using Allure version-2.13.2
can anyone help me where I am going wrong
回答1:
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.
So here is my findings,
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.
来源:https://stackoverflow.com/questions/60902458/executor-is-not-displayed-in-allure-reports