關於fixture,pytest在run一個test方法的時候,大概流程如下: ... @pytest.fixture(scope="module") def customhellomodule(): print("outside hello") return 1.
確定! 回上一頁