3.pytest_addoption注册参数这个就很好的解决了这个问题,它能在执行命令 ... 配置对象def pytest_addoption(parser): parser.addoption( "--num_1", ...
確定! 回上一頁