1.顯示trend:
(重點(diǎn))<workingDirectory>target/</workingDirectory>使allure-results在terget目錄下生成鞍帝,如果不加的話會(huì)在根目錄下绣夺,到時(shí)候測(cè)試報(bào)告會(huì)丟失數(shù)據(jù)该互,并且運(yùn)行器也不會(huì)顯示
<!-- 使allure-results在target文件夾下(很重要) -->
<workingDirectory>target/</workingDirectory>
trend.png
2.基于以上設(shè)置之后沟突,element.properties需要設(shè)置成絕對(duì)路徑
否則報(bào)錯(cuò)如下所示:
element.properties.png