Hook 方法之pytest_addoption: pytest_addoption可以让用户注册一个自定义的命令行参数,方便用户将数据传递给pytest; 这个Hook方法一般和内置fixturepytestconfig ...
確定! 回上一頁