首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

#pytest

pytest配置实用指南

苦叶子

在前文Pytest基础指南之APIs集大体介绍了Pytest的API集以及大体能力,本文主要介绍其中的配置项这块,通过具体的实例来说明配置使用方法,当然了如果你...

100

如何安装、利用、激活、禁用pytest插件

苦叶子

在本文中,我们介绍如何安装和使用pytest第三方插件,对于如何自己开发pytest插件,我们后续写文继续更新。

500

pytest + yaml 框架 -68.新增全局请求参数配置verify和headers

上海-悠悠

最近有小伙伴提到如何全局添加请求参数verify=False 和 全局请求添加头部参数如:{“x-token”: “xxx”} 之前的版本可以用fixture解...

4310

pytest 使用

MaybeHC

以上配置文件表示,pytest查找模块名为test_,check_,example_开头的模块,函数名为_test结尾的文件,Suite结尾的类

6010

Pytest测试实战|执行方式

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

6910

Pytest测试实战|参数化

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

6410

Pytest测试实战|Fixture详解

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

6010

Pytest测试实战|Conftest.py详解

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

7010

Pytest测试实战|执行常用命令

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

11110

Pytest测试实战|常用插件

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

3710

pytest + yaml 框架 -62.支持yaml和json2种格式用例

上海-悠悠

之前教程全是yaml格式用例,有部分同学反馈不太习惯yaml格式,所以新增了json格式的用例。

8910

自动化-搭建Jenkins实现Pytest代码自动部署

打铁读书郎

本文主要讲述如何通过Docker或直接在Windows上安装Jenkins,如何使用Jenkins自动部署测试代码

9910

如何在 Pytest 中添加日志记录

Tester_muller

在编写和运行测试时,对于调试和排查问题,添加日志记录是一种非常有用的技术。Pytest 是一个流行的 Python 测试框架,开发者通过pytest可以轻松地编...

6510

Pytest测试实战|编写规范与搜索

无涯WuYa

The pytest framework makes it easy to write small, readable tests, and can scale...

8410

实用指南:使用Pytest Allure测试框架添加用例失败截图

Tester_muller

在我们进行软件测试的过程中,我们提交的测试报告缺少一些详细的附件,尤其是用例失败时候的截图,更方便我们去查看具体的情况,我们在进行测试时会使用allure+py...

6610

Python和Pytest实现登录态的Cookie绕过方法详解

小白学大数据

京东作为中国最大的综合性电商平台之一,拥有庞大的用户群体和海量的商品信息。对于开发人员和测试人员来说,如何高效地进行京东网站的数据爬取和接口测试至关重要。而在进...

14410

浅浅的分享下这几天写pytest脚本的一些收获

小博测试成长之路

福米科技 · 测试工程师 (已认证)

先来说下背景,为什么最近又在开始写pytest的脚本了,那自然是要把部门的接口自动化搞起来呗,之前搞的metersphere那套维护不下去了,加上一些其他原因,...

8610

pytest多重断言插件-pytest-assume

小博测试成长之路

福米科技 · 测试工程师 (已认证)

最近准备废弃之前用metersphere做的接口自动化,转战pytest了,先来分享下最近接触到的一个插件:pytest-assume。

6410
领券