這邊會使用pytest 和coverage 來進行測試和評估先進行安裝: ... 接著使用Pytest's monkeypatch fixture 來取代 init_db 函數進行測試使用前面寫的 runner fixture ...
確定! 回上一頁