摘要: 1. pytest介绍 带有init方法的类,被认为是带有特殊功能的类,就不是测试用例类 2. pytest配置 要想打印log日志,必须配置pytest.ini:pytest会捕获日志,导致运行时未显示日志 [pytest] addopts = -sv --log-cli-level=INFO 3 阅读全文
posted @ 2020-12-13 15:39 方园FPP 阅读(902) 评论(0) 推荐(0) 编辑