文章目录
报告预览
一、 测试模块定制-feature
@allure.feature("测试模块名字")
二、测试功能定制- stroy
@allure.story("用户故事名字")
三、测试步骤定制-step
@allure.step("测试步骤一")
四、测试描述定制
@allure.attach("我是测试步骤一的描述")
用例描述也可以直接注释在测试函数中
五、严重级别定制
@allure.severity("Normal")
严重级别:BLOCKER,CRITICAL,NORMAL,MINOR,TRIVIAL
Allure中对严重级别的定义:
1、 Blocker级别:中断缺陷(客户端程序无响应,无法执行下一步操作)