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