單項選擇題

在Pytest中,哪個函數(shù)用于在測試用例運行之前執(zhí)行一次性設置()

A.setup()
B.before_test()
C.teardown()
D.setup_method()

微信掃碼免費搜題