摘要: 1:pytest安装 python3 -m pip install pytest 验证:pytest --version 2:pytest测试用例的识别与运行 识别: 1:测试文件(模块)以test_*.py或*_test.py 2:测试类以Test*命名,测试用例以test_*的方法, 3:不在测 阅读全文
posted @ 2022-01-19 18:39 观呼吸 阅读(205) 评论(0) 推荐(0)