摘要: pytest.fixture 使用说明: 1,函数之间的通信是通过 pytest.fixture来实现的 2,pytest.fixture 可以实现在函数、类、模块或整个测试会话范围内重复使用fixture 3,request 使用fixture标记函数后,函数将默认接入一个request参数,它将包含使用该fixture函数的函数信息在一个文件之中 pytest 运行流程!(以... 阅读全文
posted @ 2018-10-16 15:59 十七楼的羊 阅读(2009) 评论(0) 推荐(0) 编辑