首页 > 其他分享 >allure-动态参数,报告优化方法。

allure-动态参数,报告优化方法。

时间:2023-01-30 11:55:05浏览次数:35  
标签:title 优化 修改 allure 参数 方法

1.allure.title方法

#前置需要在源文件:\venv\Lib\site-packages\allure_pytest\listener.py
#在该文件修改为这样:test_result.parameters.extend([])
#使用方法:allure.dynamic.title(media_value["title"])

 

未修改

 

 

 

修改后结果:

 

标签:title,优化,修改,allure,参数,方法
From: https://www.cnblogs.com/DarinGao/p/17075054.html

相关文章