我正在使用硒進行端到端測試,而我無法獲得如何使用setup_class和teardown_class方法。 ... import pytest @pytest.fixture() def resource(): print('setup') yield ...
確定! 回上一頁