入门3-Pytest测试用例运行方式(1)Main方法运行

通过主函数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编辑  收藏  举报