Loading

摘要: 1.下载 pip install -U pytest 2.运行 规则 测试文件以test_开头(以_test结尾也可以) 测试类以Test开头,并且不能带有 init 方法 测试函数以test_开头 断言使用assert pytest 指定想执行的文件路径 --html=./reports/repo 阅读全文
posted @ 2020-08-18 15:58 封灵寒武 阅读(83) 评论(0) 推荐(0) 编辑