摘要: 1. 可以设置当失败N个后停止测试 pytest x 是当第一个失败产生后,停止 pytest maxfail=2, 这里就是当失败2个用例后,停止测试 2.pytest 在命令行模式下支持多种方式运行和选择运行 pytest test_mod.py 运行这个文件(模块) pytest testin 阅读全文
posted @ 2018-09-05 22:46 把苹果咬哭的测试笔记 阅读(666) 评论(0) 推荐(0) 编辑