You can make something like this: File: conftest.py option = None def pytest_addoption(parser): parser.addoption("--arg", action="store", ...
確定! 回上一頁