單項選擇題在PyTest中,可以使用哪個裝飾器來指定測試用例的優(yōu)先級()

A.pytest.allure.priority()
B.pytest.allure.severity()
C.pytest.mark.priority()
D.pytest.mark.severity()


你可能感興趣的試題

1.單項選擇題如何在PyTest中使用allure進(jìn)行測試()

A.使用pytest-allure插件
B.使用pytest-report插件
C.使用pytest-html插件
D.使用pytest-xdist插件

2.單項選擇題allure是一種什么類型的測試報告工具()

A.命令行工具
B.圖形化工具
C.數(shù)據(jù)分析工具
D.代碼審查工具

3.單項選擇題Allure測試報告框架可以生成什么類型的測試報告()

A.HTML報告
B.JSON報告
C.XML報告
D.以上都是

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

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

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

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