会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
飞羽小鱼仔
博客园
首页
新随笔
联系
管理
订阅
2020年6月2日
pytest2.参数化parametrize
摘要: 1.pytest参数化使用pytest的装饰器pytest.mark.parametrize # coding=utf-8import pytest@pytest.mark.parametrize('test_input, expected', # 两个参数,参数放到元组中,所有的参数放到列表中 [
阅读全文
posted @ 2020-06-02 20:09 飞羽小鱼仔
阅读(213)
评论(0)
推荐(0)
公告