![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pytest学习
文章平均质量分 81
记录学习pytest的过程
简单快乐_wsh
这个作者很懒,什么都没留下…
展开
-
pytest集成allure报告(allure安装及配置以及如何实现集成)
pytest集成allure报告原创 2022-11-20 15:20:38 · 2206 阅读 · 0 评论 -
什么是Pytest及Pytest常用方法
什么是Pytest?一、什么是pytest二、Pytest的特点三、Pytest以及常用插件安装四、编写规则五、Pytest之收集用例及命令行参数1、用例收集规则2、命令行参数六、跳过用例七、Pytest的前置和后置方法1、Pytest可以集成unittest实现前置和后置2、Pytest前置和后置八、pytest的ini配置文件1、pytest.ini的放置位置2、pytest.ini的作用九、python编程之ini文件处理-configparser模块应用1、configparser模块是什么2、co原创 2021-12-12 13:07:52 · 7548 阅读 · 1 评论 -
pytest框架实现参数化-params参数化 和 parametrize 参数化
pytest框架实现参数化-params参数化 和 parametrize 参数化一、@pytest.fixture(params=参数值) ,实现参数化二、@pytest.mark.parametrize()方法,实现参数化一、@pytest.fixture(params=参数值) ,实现参数化Fixture参数之params参数可实现参数化,参数值,可以为list和tuple,或者字典列表,字典元祖等。@pytest.fixture(params=参数值)# 参数值,可以为list和tuple,原创 2021-11-06 13:31:08 · 1191 阅读 · 0 评论 -
python3 编程之ini配置文件处理-configparser模块应用
python编程之ini文件处理-configparser模块应用一、configparser模块是什么?二、数据准备三、configparser模块基本使用1、使用configparser模块读取 ini 配置文件2、使用configparser模块写入 ini 配置文件2.1 写入 ini 配置文件(字典形式)2.2 写入 ini 配置文件(方法形式)3、使用configparser模块修改 ini 配置文件4、使用configparser模块删除 ini 配置文件一、configparser模块是什原创 2021-10-24 12:06:09 · 682 阅读 · 1 评论