我对 Allure 还是很陌生,我正在尝试在我的报告中生成测试描述。查看其他 SO 问题和 pytest-allure-adaptor 文档,似乎没有这样做的选项。
我得到的最接近的是写这个:
def test_one():
"""
This is the test description.
"""
assert pass
这是非常有限的,因为它会自动折叠它。在 Allure 示例报告中,您可以看到他们可以使用标题,并且可能使用某种形式的降价。我如何使用 pytest-allure-adaptor 做到这一点?