ReportPortal 在python下的应用介绍之—-ReportPortal介绍

做自动化测试的人肯定会有这样的问题:自动化给团队带来了什么价值?我们可以从每天的构建数据中获得什么?我以前写过一个简单的数据展示系统,基本原理是分析Jenkins的结果,然后把XML输入数据库,然后用FlASK应用一些EChart前端表格来展示。当领导者要求各种数据时,有时他们需要编写SQL来获得这些数据。这一直困扰着我。

[En]

People who do automated testing must have this problem: what is the value that automation brings to the team? What can we get from the daily build data? I have written a simple data display system before, the basic principle is to analyze the results of jenkins and then enter XML into the database, and then use flask to apply some echart front-end tables to show. When leaders ask for all kinds of data, sometimes they need to write sql to get it. It’s been bothering me.

最近,在浏览网页时发现一个很好的开源系统 ReportPortal 可以收集测试结果并有报告展示。来来来。从官网我们看看他有哪些功能吧:

简单翻译一下,有几点:

[En]

A brief translation, there are a few points:

  1. 与测试框架整合简单

  2. 实时招商收测试进度

  3. 统一测试结果存放地方

  4. 可以收集测试日志附件历史等

  5. 可与BUG系统整合

既然你说得这么好,我们就从它开始吧。这个系统有一个演示环境,供大家试用。那很好。地址如下:

[En]

Since you said it so well, let’s start with it. This system has a demo environment for everyone to try out. That’s good. The address is as follows:

https://demo.reportportal.io/ui/#login

用户名和密码如下:

[En]

The username and password are as follows:

login: default
password: 1q2w3e

当你进入里面,你就可以开始玩了。

[En]

When you get inside, you can start playing.

有几点需要注意:

[En]

There are several points to pay attention to:

  1. 这套系统目前不支持中文。这点如果要用中文的就可能要等别人汉化了

  2. Demo 环境每隔19小时会复原一次

我们应该怎么用呢。

1.先去生成一些demo数据吧

单击启动–>生成演示数据

[En]

Click LAUNCHES– > Generate demo data

ReportPortal 在python下的应用介绍之----ReportPortal介绍

稍后,刷新页面,您将看到许多测试记录,如下所示

[En]

After a while, refresh the page and you will see a lot of test records as follows

ReportPortal 在python下的应用介绍之----ReportPortal介绍

该页面有几个功能:

[En]

This page has several functions:

1.显示执行的测试集记录,成功与失败数

  1. 可与失败用例进行分析,默认是(To INVESTIGATE),可选择错误类型。类型也可以自定义。不过目前demo系统有点问题,不能变更

3.测试集的合并或比较,也是个比较好的功能点

4.可以自己导入结果分件分析

这些功能将在后续文章中介绍。

[En]

These features are described in a subsequent article.

让我们切换到仪表板选项卡页。

[En]

Let’s switch to the Dashboards Tab page.

ReportPortal 在python下的应用介绍之----ReportPortal介绍

有各种各样的图表,生成起来非常酷。它还不起作用。我不知道这些图表是否有实用价值。

[En]

There are all kinds of charts that are very cool to generate. It doesn’t work yet. I don’t know if these charts have any practical value.

Original: https://www.cnblogs.com/landhu/p/15924290.html
Author: Believer007
Title: ReportPortal 在python下的应用介绍之—-ReportPortal介绍

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/6567/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

最近整理资源【免费获取】:   👉 程序员最新必读书单  | 👏 互联网各方向面试题下载 | ✌️计算机核心资源汇总