当前位置:网站首页>Allure测试报告怎么设置
Allure测试报告怎么设置
2022-07-15 17:31:00 【InfoQ】

1、Allure 安装依赖
- Java8 +, JDK1.8+
- 下载 allure 安装包
- 配置环境变量
- python 库 pytest-allure
2、安装 Java 的 JDK
- 下载 Java 的JDK。
- 如果安装了 Jenkins, 可以用 Jenkins 的 Java 环境,通常在 Jenkins 安装目录下的 jre/bin 目录下。
- 在 window 平台下运行

3、安装 allure
- 下载 allure 安装包:https://github.com/allure-framework/allure2/releases/tag/2.11.0
- 把安装包接下放到想要的安装目录下。
- 配置环境变量。和 Java 一样,把出现 allure 的路径放到环境变量。
4、安装 pytest allure
pip install allure-pytest
pytest -s -q --alluredir report/allure/path
allure serve report\allure
5、在 Jenkins 上配置 Allure
- 在 Jenkins 的插件市场安装 Allure 插件;
- 在 Jenkins 全局工具配置中配置 Allure 命令行。

- 项目中配置 Allure 报告路径。
边栏推荐
- Talk about how to write a programmer's resume (help modify your resume)
- Unit MySQL appears in MySQL Solution of service could not be found
- Writing PHP form data to MySQL code
- 客户端那些事儿(2)
- vim中如何贪婪匹配
- Openharmony related knowledge learning
- Win10 right click the new column to add a new markdown file (typora.md)
- OpenHarmony模块二初分析(2)
- How to import TPC-H data through PSQL?
- Fosai biology interprets the changes in the atmospheric environment in the first half of 2022, and VOCs control is still the key to breaking the situation
猜你喜欢
随机推荐
C language: use macro to redefine printf and print [debug debugging information]
【森城市】GIS数据漫谈(四)— 坐标系统
What is the distributed query engine of polardb for PostgreSQL?
OpenHarmony安全模块之AES加密学习
Openharmony module 2 file samgr_ Server parsing (4)
The characteristics and underlying principles of synchronized, as well as the state and expansion and upgrading process of locks
Redis+caffeine two-level cache enables smooth access speed
Fosai biology interprets the changes in the atmospheric environment in the first half of 2022, and VOCs control is still the key to breaking the situation
时间复杂度和空间复杂度详解
PolarDB for PostgreSQL的分布式查询引擎是怎样的?
Talk about how to write a programmer's resume (help modify your resume)
(高频面试题)计算机网络
【英雄哥七月集训】第 15天:深度优先搜索
Intel releases open source AI Reference Suite
linq 实现查询字符串拼接 : And 和 OR 两种方式
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the
C language: code specification Discussion & excerpts (including excerpts from some rules of [Huawei code specification])
Get to know the three modules of openharmony
根据经纬度查询距离并按距离进行排序
滲透測試流程









