单项选择题X 纠错
A.使用test 装饰器B.使用pytest.mark.test 标记C.使用def test_开头的函数名D.使用def test()的函数名
你可能喜欢
单项选择题
A.使用pytest.mark.parametrizeB.使用pytest.mark.dependencyC.使用pytest.mark.xfailD.无法设置测试用例执行的顺序
A.pytest-coverageB.pytest-htmlC.pytest-xdistD.pytest-flask
A.pytest reportB.pytest summaryC.pytest junitxmlD.pytest html
A.setup()B.before_test()C.teardown()D.setup_method()
A.assertB.assertEqualC.assertAlmostEqualD.assertNotEqual
A.testB.pyC.testfileD.testcase
A.使用assert语句B.使用check()函数C.使用verify()函数D.使用expect()函数
A.使用pytest.mark.fixture 标注B.使用pytest.fixture 标注C.使用pytest.use_fixture 标注D.使用pytest.testfixture 标注
A.运行python test.py命令B.运行pytest test.py命令C.运行unittest test.py命令D.运行test.py命令
A.使用test标注B.使用pytest.mark标注C.使用pytest.test标注D.使用unittest.TestCase标注
赞题库-搜题找答案
(已有500万+用户使用)
无需下载 立即使用
版权所有©考试资料网(ppkao.com)All Rights Reserved