单项选择题X 纠错
A.pytest test_module.py
B.pytest test_module
C.pytest -m test_module
D.pytest -k test_module
你可能喜欢
单项选择题
A.AssertionError
B.ValueError
C.TypeError
D.SyntaxError
单项选择题
A.pytest.raises()
B.pytest.assert_called()
C.pytest.assert_raises()
D.pytest.expect_exception()
单项选择题
A.使用test 装饰器
B.使用pytest.mark.test 标记
C.使用def test_开头的函数名
D.使用def test()的函数名
单项选择题
A.使用pytest.mark.parametrize
B.使用pytest.mark.dependency
C.使用pytest.mark.xfail
D.无法设置测试用例执行的顺序