https://blog.csdn.net/liuchunming033/article/details/79624474#commentBox
https://blog.csdn.net/lihua_tan/article/details/76099282
- @allure.feature # 用於定義被測試的功能,被測產品的需求點
- @allure.story # 用於定義被測功能的用戶場景,即子功能點
- with allure.step # 用於將一個測試用例,分成幾個步驟在報告中輸出
- allure.attach # 用於向測試報告中輸入一些附加的信息,通常是一些測試數據信息
- @pytest.allure.step # 用於將一些通用的函數作為測試步驟輸出到報告,調用此函數的地方會向報告中輸出步驟