摘要: 通过命令行方式执行 pytest 执行所有用例或者 pytest xxx.py执行指定模块 命令 pytest 阅读全文
posted @ 2023-05-02 14:42 蜗牛果果 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 通过主函数main方式执行 运行所有case:pytest.main() 运行模块: pytest.main(['test_company.py','test_school.py']) 指定目录:pytest.main(['./testcases']) If __name__ == ‘__main_ 阅读全文
posted @ 2023-05-02 14:40 蜗牛果果 阅读(251) 评论(0) 推荐(0) 编辑
摘要: The function you are attempting to run contains macro or content that requires macro language support. When the software is installed, you choose not 阅读全文
posted @ 2023-05-02 11:03 蜗牛果果 阅读(202) 评论(0) 推荐(0) 编辑