5测试报告与持续集成 - Be5yond/pytest_demo GitHub Wiki
测试报告
测试报告采用Allure框架展示
安装方式
见allure官方文档
使用方法
class TestAuditClass(object):
@allure.feature("工单审核") # 功能模块
@pytest.mark.parametrize(....)
def test_audit_pass(self, user, auditor, data, scm):
with allure.step('1.提交工单'): # 测试步骤
...
with allure.step('2.审核通过'):
...
with allure.step('3.验证工单状态为已通过'):
...
与jenkins的集成
todo