test_show.py import pytest def test_sample1(): assert 1 == 1 def ... 當xfail_strict=true 時,XPASS 也會視為Fail,可在pytest.ini 內設定
確定! 回上一頁