Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 诱惑pytest:报告中没有套件层次结构_Python_Pytest_Allure - Fatal编程技术网

Python 诱惑pytest:报告中没有套件层次结构

Python 诱惑pytest:报告中没有套件层次结构,python,pytest,allure,Python,Pytest,Allure,我正在使用pytest和allure python运行测试。我的测试分为模块和类。然而。生成报告时,“套件”选项卡仅包含一个级别—实际功能 相反,我希望看到的是: 我的FS和pytest层次结构: 我在跑步: pytest -s -v --aluredir='xx' -m 'tags' tests/

我正在使用pytest和allure python运行测试。我的测试分为模块和类。然而。生成报告时,“套件”选项卡仅包含一个级别—实际功能

相反,我希望看到的是:

我的FS和pytest层次结构:

我在跑步:

pytest -s -v --aluredir='xx' -m 'tags' tests/