import pytest @pytest.fixture() #聲明這個是fixture函數 def aa(seif): print("先執行我,然後再執行用例方法") aa=1+1 yield aa # 類似分隔符號, ...
確定! 回上一頁