
allure
ezreal_tao
这个作者很懒,什么都没留下…
展开
-
jenkins配置allure报告
Jenkins配置allure系统环境:centos xxxjenkins版本 xxx步骤安装 pytest-allure-adaptor;使用命令 pip install pytest-allure-adaptorJenkins安装allure插件;插件名 Allure Jenkins PluginJenkins系统管理——全局工具配置——Allure Commandli...原创 2019-08-29 12:45:26 · 893 阅读 · 0 评论 -
pytest-html报告里添加报错截图
# 写在conftest.pyfrom selenium import webdriverimport pytestdriver = None@pytest.mark.hookwrapperdef pytest_runtest_makereport(item): """ Extends the PyTest Plugin to take and embed scr...原创 2019-08-29 22:51:06 · 1847 阅读 · 0 评论 -
allure-pytest的报错截图添加到报告
# 写在conftest.pyimport osimport allurefrom selenium import webdriverimport pytest# 添加报错截图到allure报告里driver = None@pytest.hookimpl(tryfirst=True, hookwrapper=True)def pytest_runtest_makerepor...原创 2019-08-29 22:49:43 · 7485 阅读 · 7 评论