25、pytest的测试报告插件allure

allure简介

在这里,你将找到使用allure创建、定制和理解测试报告所需的一切。开始让你的测试沟通更清晰,更有影响力。

Allure Report是一个实用程序,它处理由兼容的测试框架收集的测试结果并生成HTML报告。

安装allure

1、确保安装了Java版本8或更高版本,并在环境变量中指定了它的目录。

2、下载allure Report发布的alure-*.zip或allure-*.tgz文件。

3、将归档文件解压到任意目录,将bin/allure配置到环境变量中。

场景应用

下载github,allure官网用例

执行测试用例

打开测试报告

相关推荐
姚青&6 天前
PyCharm 配置与界面化运行
pytest
姚青&6 天前
Pytest 测试用例断言
测试用例·pytest
姚青&6 天前
Pytest 命名规则
pytest
姚青&6 天前
Pytest 测试用例结构
测试用例·pytest
姚青&6 天前
Pytest 简介、安装与环境准备
pytest
测试渣7 天前
持续集成中的自动化测试框架优化实战指南
python·ci/cd·单元测试·自动化·pytest
小凯123458 天前
pytest框架-详解(学习pytest框架这一篇就够了)
python·学习·pytest
逻极8 天前
pytest 入门指南:Python 测试框架从零到一(2025 实战版)
开发语言·python·pytest