今天在用pytest 寫一個測試程式,用到了一個fixture 類似像下面這樣:. @pytest.fixture(scope='module') def ca(): wrapper = Wrapper() return ...
確定! 回上一頁