摘要: pytest --collect-only 使用--collect-only选项可以展示在给定的配置下哪些测试用例会被运行 pytest -k -k可以通过表达式运行指定的测试用例 比如pytest -k “asdict or defaults”,就指定运行test_asdict()和test_de 阅读全文
posted @ 2019-11-18 20:55 刘小氓jiayou 阅读(1146) 评论(0) 推荐(0)