pytest 运行测试

1、pytest -k add text_xx.py  运行包含了字符串add的用例

2、pytest -q test_xx.py 减少运行的冗长

3、pytest -x test_xx.py 调试用例,有用例就退出

posted @ 2020-10-17 10:08  Catonce  阅读(57)  评论(0编辑  收藏  举报