![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
自动化测试
文章平均质量分 92
Au624605062
这个作者很懒,什么都没留下…
展开
-
python自动化接口测试(一)
第 1 章 Fiddler1.1 抓 firefox 上 https 请求fiddler 是一个很好的抓包工具,默认是抓 http 请求的,对于 pc 上的 https 请求,会提示网页不安全,这时候需要在浏览器上安装证书。原创 2021-06-30 16:03:39 · 1281 阅读 · 2 评论 -
pytest框架笔记(五)selenium+pytest 项目实战(已完结)
第 4 章 selenium+pytest 项目案例转载 2021-04-19 11:55:38 · 15593 阅读 · 4 评论 -
pytest框架笔记(四)HTML,Allure2报告生成
第 3 章 HTML 报告生成生成 html 报告,这里介绍了 2 个框架1.pytest-HTML2.allure23.1-pytest-html 生成 html 报告pytest-HTML 是一个插件,pytest 用于生成测试结果的 HTML 报 告。兼容 Python 2.7,3.6pytest-html1.github 上源码地址 【https://github.com/pytest-dev/pytest-html】2.pip 安装 > pip install原创 2021-04-17 15:03:26 · 903 阅读 · 1 评论 -
pytest框架笔记(三)之fixture
目录第 2 章 fixture2.1fixture 作为参数传入2.2 error 和 failed 区别2.3 使用多个 fixture2.4 fixture 与 fixture 互相调用2.5 fixture 作用范围第 2 章 fixtureFixture 是 pytest 的核心功能,本章单独拿出来详细讲解。只有熟练掌握了 fixture 的用法才 是真正的懂了 pytest 框架,写起用例来也就得心应手了。2.1fixture 作为参数传入fixtur.原创 2021-04-15 15:31:15 · 731 阅读 · 0 评论 -
pytest框架笔记(二)
1.11-使用自定义标记 mark原创 2021-03-29 16:59:14 · 807 阅读 · 0 评论 -
pytest框架笔记(一)
1.pytest基础 def test_one(self): x='this' assert 'h' in x#判断h是否在x中pytest 运行规则:**查找当前目录及其子目录下以 test_*.py 或 *_test.py 文件,找到文件后,在文件中找到以 test 开头函数并执行。 **1.0.1 创建一个测试类class TesyClass(): def test_one(self): x='this'原创 2021-02-27 15:52:48 · 2210 阅读 · 4 评论