想偷懶,每次輸入pytest ********太多了怎么辦?
在pytest.ini文件中配置addopts
addopts = -q --tb=line --reruns 1 --html=report_name.html
解釋一下: 輸入簡(jiǎn)要信息,信息回溯只有一行,失敗用例重執(zhí)行一次,產(chǎn)出測(cè)試報(bào)告
想偷懶,每次輸入pytest ********太多了怎么辦?
在pytest.ini文件中配置addopts
addopts = -q --tb=line --reruns 1 --html=report_name.html
解釋一下: 輸入簡(jiǎn)要信息,信息回溯只有一行,失敗用例重執(zhí)行一次,產(chǎn)出測(cè)試報(bào)告