第二種方法,使用pytest hook 批量加參數化 # conftest.py def pytest_generate_tests(metafunc): """ 使用hook 給用例加加上參數metafunc.cls.params ...
確定! 回上一頁