pytest 預設不顯示 skip 和 xfail 用例的詳細資訊,我們可以通過 -r 選項 ... def test_one(): pytest.skip("跳出", allow_module_level=True) def ...
確定! 回上一頁