pytest-yaml 测试平台-4.生成allure报告,报告反馈企业微信、钉钉、飞书通知

前言

定时任务执行完成后生成可视化allure报告,并把结果发到企业微信,钉钉,飞书通知群里。

生成allure报告

添加定时任务

执行完成后生成allure报告

查看报告详情

报告会显示详细的request 和 response 详细信息

也可以查看log日志

报告反馈-企业微信

创建定时任务时添加企业微信token

企业微信token可以在群机器人查看详情,找到Webhook地址,后面的key值

任务触发后生成的报告在群里通知

报告反馈-钉钉通知

先找到钉钉群机器人webhook地址后面的token

自定义关键词--测试报告,不勾选加签值

创建定时任务时添加钉钉通知,输入webhook链接后面的token

执行任务后收到群通知

报告反馈-飞书

找到飞书群机器人webhook地址

创建任务输入飞书token

执行任务后群通知结果

测试平台开发咨询wx:283340479

相关推荐
2601_962284509 小时前
安卓APP UI自动化测试:Python + UiAutomator2 + pytest + pytest-html
python·pytest·uiautomator2·ui自动化测试·安卓app
2601_9623008110 小时前
基于pytest的接口自动化测试:使用requests模块的实战项目与接口关联方法详解
接口自动化测试·测试用例·pytest·接口关联·requests模块
2601_9623008110 小时前
Python + Requests + Pytest + Excel + Allure:接口自动化测试项目实战
python·excel·pytest·allure·requests
11路没有终点1 天前
Pytest 安装、版本与第一个测试用例
测试用例·pytest
11路没有终点2 天前
pytest 参数化与 Mark 标记
pytest
2601_962296282 天前
五种Python自动化测试框架汇总,附学习方法
自动化测试·pytest·unittest·robotframework·python框架
11路没有终点3 天前
pytest Fixture 进阶:conftest 与依赖注入
pytest
2601_962387826 天前
web自动化测试实战教程【selenium/unittest/pytest】【共193课
selenium·pytest·devops·web自动化测试·unittest
weixin_440730506 天前
使用pytest中方法控制执行步骤(test_begin.py、test_end.py,@pytest.mark.run(order=1))
开发语言·python·pytest
2601_962297256 天前
Python、Pytest、Allure、Selenium和Jenkins实现自动化测试集成实例
python·selenium·jenkins·pytest·allure