编程课程
编程实战
编程题库
编程教程
在线工具
免费 AI IDE
VIP会员
限时赠
App下载
扫码下载编程狮APP
注册
|
登录
注册成功
X
W3Cschool
恭喜您成为首批注册用户
获得88经验值奖励
马上体验
入门教程
编程课程
VIP会员
pytest教程
赞
收藏
更多文章
目录
搜索
书签
pytest 开始使用
pytest 核心功能
pytest 核心功能-调用pytest
pytest 核心功能-在测试中编写和报告断言
pytest 核心功能-使用fixtures
pytest fixture-请求fixture
pytest fixture-自动适配fixture
pytest fixture-作用域:class、module、package或session共享fixture
pytest fixture-拆除fixture
pytest fixture-安全拆除
pytest fixture-安全地运行多个断言语句
pytest fixture-fixture可以内省请求的测试上下文
pytest fixture-使用标记将数据传递给fixture
pytest fixture-Factories as fixtures
pytest fixture-参数化fixture
pytest fixture-使用参数化fixture标记
pytest fixture-模块化:从fixture函数中使用fixture
pytest fixture-按fixture实例自动分组测试
pytest fixture-在带有usefixture的类和模块中使用fixture
pytest fixture-重写各种级别的fixture
pytest fixture-使用来自其他项目的fixture
pytest 核心功能-用属性标记测试函数
pytest 核心功能-参数化fixtures和测试函数
pytest 核心功能-在测试中使用临时目录和文件
pytest 核心功能-monkeypatch/mock 模块和环境
pytest 核心功能-运行doctests
pytest 核心功能-重新运行失败的测试并在测试运行之间保持状态
pytest 测试输出和结果
pytest 测试输出和结果-处理测试失败
pytest 测试输出和结果-管理pytest的输出
pytest 测试输出和结果-管理日志记录
pytest 测试输出和结果-捕获标准输出/标准错误输出
pytest 测试输出和结果-捕获警告
pytest 测试输出和结果-使用skip和xfail处理无法成功的测试
pytest 插件
pytest 插件-如何安装和使用插件
pytest 插件-编写插件
pytest 插件-编写钩子函数
pytest 其他测试系统
pytest 其他测试系统-在现有套件中使用pytest
pytest 其他测试系统-使用unittest基于pytest的测试
pytest 其他测试系统-运行为nose编写的测试
pytest 其他测试系统-如何实现xunit风格的设置
pytest bash设置
搜索
A
A
默认
护眼
夜间
阅读(789)
书签
赞
(
0
)
分享
我要纠错
pytest 其他测试系统
2022-03-22 09:15 更新
以上内容是否对您有帮助:
在文档使用的过程中是否遇到以下问题:
内容错误
更新不及时
链接错误
缺少代码/图片示列
太简单/步骤待完善
其他
更多建议:
提交建议
←
pytest 插件-编写钩子函数
pytest 其他测试系统-在现有套件中使用pytest
→
写笔记
我要补充
精选笔记
在线笔记
App下载
扫描二维码
下载编程狮App
公众号
编程狮公众号
意见反馈
意见反馈
X
意见反馈:
联系方式:
提交
查看完整版笔记
保存
关闭
教程纠错
教程纠错
违规举报
X
广告等垃圾信息
不友善内容
违反法律法规的内容
不宜公开讨论的政治内容
其他
提交
工具
推荐
更多
Trae CN
Turtle绘图
Markdown编辑器
Unix时间戳
Mermaid编辑器
Python在线编译器
在线拾色器
正则工具
AI编程工具
更多
Trae
代码小浣熊
星辰Agent
通义灵码
文心快码
CodeGeeX
GitHub Copilot
Fitten Code
更多建议: