關於平時使用過程中遇到的錯誤,有效的解決辦法蒐集。
序號 | 問題 | 錯誤提示 | 解決 | 有效參考 | 記錄時間 |
1 | pytest | TypeError: required field "posonlyargs" missing from arguments | 卸載pytest-allure-adapter pip3 uninstall pytest-allure-adapter |
https://ask.csdn.net/questions/1069013 | 2020年6月8日 |
2 | allure安裝問題 |
allure現在版本已經更新到allure2 網上很多安裝的教程都是要安裝pytest-allure-adaptor |
allure2已經不用這個了,python下直接安裝allure-pytest就行 | https://www.cnblogs.com/fengzx120/p/10880619.html | 2020年6月8日 |
3 | |||||