A.pytest.raises()
B.pytest.assert_called()
C.pytest.assert_raises()
D.pytest.expect_exception()
您可能感興趣的試卷
你可能感興趣的試題
A.使用test 裝飾器
B.使用pytest.mark.test 標記
C.使用def test_開頭的函數(shù)名
D.使用def test()的函數(shù)名
A.使用pytest.mark.parametrize
B.使用pytest.mark.dependency
C.使用pytest.mark.xfail
D.無法設(shè)置測試用例執(zhí)行的順序
A.pytest-coverage
B.pytest-html
C.pytest-xdist
D.pytest-flask
A.pytest report
B.pytest summary
C.pytest junitxml
D.pytest html
A.setup()
B.before_test()
C.teardown()
D.setup_method()
最新試題
以下有關(guān)測試用例編寫和執(zhí)行的陳述中,哪些是正確的()
JMeter支持哪些類型的測試計劃()
如何在PyTest中驗證HTTP響應(yīng)的狀態(tài)碼()
在用例維護過程中,以下哪些是需要更新的內(nèi)容()
下面哪些工具可以用于測試操作系統(tǒng)的性能()
在軟件測試中,以下哪些是軟件缺陷的特征()
Selenium WebDriver如何判斷元素是否已選擇()
在PyTest中如何引入Requests庫()
在Requests 中,Session使用下面哪個方法可以將請求中的參數(shù)轉(zhuǎn)換為URL編碼格式()
在PyTest中,可以通過哪個裝飾器來發(fā)送HTTP請求()