pytest添加附件到allure報告上

import allure import pytest def test_allure_print(): print("測試print在allure報告上") print("測試截圖附件在allure報告上") with open("attach.png", "rb") as f: context = f.read() allure.at
相關文章
相關標籤/搜索