25、pytest的测试报告插件allure

allure简介

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

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

安装allure

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

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

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

场景应用

下载github,allure官网用例

执行测试用例

打开测试报告

相关推荐
春风又。1 天前
接口自动化——初识pytest
python·测试工具·自动化·pytest
南部余额2 天前
playwright解决重复登录问题,通过pytest夹具自动读取storage_state用户状态信息
前端·爬虫·python·ui·pytest·pylawright
小码哥说测试4 天前
接口自动化进阶 —— Pytest全局配置pytest.ini文件详解!
自动化测试·软件测试·测试工具·自动化·pytest·测试工程师
天才测试猿5 天前
Python常用自动化测试框架—Pytest
自动化测试·软件测试·python·功能测试·测试工具·测试用例·pytest
Rhys..5 天前
2、pytest核心功能(进阶用法)
开发语言·python·pytest
一只天蝎的晋升之路7 天前
Python中常用的测试框架-pytest和unittest
开发语言·python·pytest
明月与玄武7 天前
pytest-xdist 进行高效并行自动化测试
pytest·pytest-xdist·进行高效并行自动化测试
测试笔记(自看)7 天前
Python+Requests+Pytest+YAML+Allure接口自动化框架
python·自动化·pytest·allure
活跃家族7 天前
Jsonpath使用
python·pytest
Rhys..8 天前
4、pytest常用插件
pytest