單項選擇題Pytest是一種什么類型的測試框架()

A.單元測試框架
B.集成測試框架
C.端到端測試框架
D.手動測試框架


你可能感興趣的試題

1.單項選擇題如何在PyTest中跳過測試用例()

A.使用pytest.ignore(reason)裝飾器
B.使用pytest.skip(reason)裝飾器
C.使用pytest.fail(reason)裝飾器
D.使用pytest.pass(reason)裝飾器

2.單項選擇題PyTest中如何運行單個測試模塊()

A.pytest test_module.py
B.pytest test_module
C.pytest -m test_module
D.pytest -k test_module

3.單項選擇題下面哪個是PyTest中用于判斷是否不拋出異常的斷言()

A.assertRaises
B.assertDoesNotRaise
C.assertWarns
D.assertDoesNotWarn

5.單項選擇題在PyTest中,以下哪種斷言用于判斷某個列表是否為空()

A.assert []
B.assert not []
C.assert {}
D.assert not {}