会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
哩子吖
博客园
首页
新随笔
联系
订阅
管理
2024年1月12日
pytest 执行用例的基本使用
摘要: pytest 测试用例的运行方式 1、主函数模式: a. 运行所有:pytest.main() b. 运行指定模块:pytest.main(['-vs', 'test_login.py']) c. 运行指定目录:pytest.main(['-vs', './testcase']) d. 通过node
阅读全文
posted @ 2024-01-12 15:39 哩子吖
阅读(293)
评论(0)
推荐(0)
公告