诱人的报告可以看到历史趋势 [英] Allure reports to see historic trends

查看:341
本文介绍了诱人的报告可以看到历史趋势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为每天运行一次的自动化测试创建Reports Dashbaord.我使用的是webdriver io,因此迷人的魅力对于构建详细的报告非常有帮助.

I am working on creating a Reports Dashbaord for automated tests that run once in a day. I am using webdriver io,and so faar allure has been super helpful in building detailed reports.

我使用的是诱人的命令行命令

I am using the allure command line command

allure generate --clean ./allure-results  && allure open

以生成报告,但是我无法获得上一个结果,并且趋势图块为空. 历史也是空的

to generate the reports, however I am not able to get my PREVIOUS results and my TRENDS tile is empty. History is also EMPTY

有什么方法可以存储每日报告并按日期进行过滤,并查看它们在特定日期的堆积情况?

Is there any way I can store daily reports and filter by date and see them stacked against a particular day?

推荐答案

使趋势和历史记录有效的过程:

在生成报告之前,请从当前结果文件夹中的上一个魅力报告文件夹中复制 history 文件夹.

Process to make Trend and History work:

Before generating the report, copy the history folder from your previous allure-report folder inside your current allure-results folder.

因此,新的吸引力报告将具有一个新的历史记录文件夹,您需要在第二天保存该文件夹,依此类推.

Therefor your new allure-report will have a new history folder that you need to save for the next day, and so on and so forth.

这篇关于诱人的报告可以看到历史趋势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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