pytest_addoption 是特定名字; def pytest_addoption(parser):; parser.addoption("--mybool", action="store_true", help="boolean option") ...
確定! 回上一頁