阅读背景:

pytest-conftest.py作用范围

来源:互联网 

1.目录结构

调用fixture有两种写法: 1.装饰器@pytest.mark.usefixtures("start") ; 2.直接在用例里面调用fixture装饰的方法当作参数输入def test_demo(self,start);3.设置fixture参数[email protected]




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: