单项选择题
在PyTest中,如何使用fixture()
A.使用pytest.mark.fixture 标注
B.使用pytest.fixture 标注
C.使用pytest.use_fixture 标注
D.使用pytest.testfixture 标注
点击查看答案&解析
相关考题
-
单项选择题
在PyTest中,如何运行测试用例()
A.运行python test.py命令
B.运行pytest test.py命令
C.运行unittest test.py命令
D.运行test.py命令 -
单项选择题
在PyTest中,如何定义测试用例()
A.使用test标注
B.使用pytest.mark标注
C.使用pytest.test标注
D.使用unittest.TestCase标注 -
单项选择题
安装PyTest的最佳方式是什么()
A.使用pip安装
B.使用conda安装
C.从源代码编译安装
D.下载二进制文件并安装
