add option using pytest_addoption hook like this: def pytest_addoption(parser): parser.addoption( "--runslow", action = "store_true" ...
確定! 回上一頁