字节宝
  • 分类
  • 教程
  • 文章
  • 官方文档
  • 技术
  • 入门教程
  • 文章
  • VIP会员
/pytest/
pytest 其他测试系统
  • 赞
  • 收藏
  • 更多文章
  • 目录

  1. pytest 核心功能
    1. pytest 核心功能-调用pytest
    2. pytest 核心功能-在测试中编写和报告断言
    3. pytest 核心功能-使用fixtures
      1. pytest fixture-请求fixture
        1. pytest fixture-自动适配fixture
          1. pytest fixture-作用域:class、module、package或session共享fixture
            1. pytest fixture-拆除fixture
              1. pytest fixture-安全拆除
                1. pytest fixture-安全地运行多个断言语句
                  1. pytest fixture-fixture可以内省请求的测试上下文
                    1. pytest fixture-使用标记将数据传递给fixture
                      1. pytest fixture-Factories as fixtures
                        1. pytest fixture-参数化fixture
                          1. pytest fixture-使用参数化fixture标记
                            1. pytest fixture-模块化:从fixture函数中使用fixture
                              1. pytest fixture-按fixture实例自动分组测试
                                1. pytest fixture-在带有usefixture的类和模块中使用fixture
                                  1. pytest fixture-重写各种级别的fixture
                                    1. pytest fixture-使用来自其他项目的fixture
                                    2. pytest 核心功能-用属性标记测试函数
                                    3. pytest 核心功能-参数化fixtures和测试函数
                                    4. pytest 核心功能-在测试中使用临时目录和文件
                                    5. pytest 核心功能-monkeypatch/mock 模块和环境
                                    6. pytest 核心功能-运行doctests
                                    7. pytest 核心功能-重新运行失败的测试并在测试运行之间保持状态
                                  2. pytest 测试输出和结果
                                    1. pytest 测试输出和结果-处理测试失败
                                    2. pytest 测试输出和结果-管理pytest的输出
                                    3. pytest 测试输出和结果-管理日志记录
                                    4. pytest 测试输出和结果-捕获标准输出/标准错误输出
                                    5. pytest 测试输出和结果-捕获警告
                                    6. pytest 测试输出和结果-使用skip和xfail处理无法成功的测试
                                    7. pytest 测试输出和结果-使用skip和xfail处理无法成功的测试
                                    8. pytest 测试输出和结果-使用skip和xfail处理无法成功的测试
                                  3. pytest 插件
                                    1. pytest 插件-如何安装和使用插件
                                    2. pytest 插件-编写插件
                                    3. pytest 插件-编写钩子函数
                                  4. pytest 其他测试系统
                                    1. pytest 其他测试系统-在现有套件中使用pytest
                                    2. pytest 其他测试系统-使用unittest基于pytest的测试
                                    3. pytest 其他测试系统-运行为nose编写的测试
                                    4. pytest 其他测试系统-如何实现xunit风格的设置
                                  阅读(4333) 赞(3)

                                  pytest 其他测试系统

                                  2022-03-22 09:14:49 更新
                                  ← pytest 插件-编写钩子函数
                                  pytest 其他测试系统-在现有套件中使用pytest →

                                  推荐文章

                                  • 学电脑办公软件一定要参加培训班吗?本篇文章告诉你!
                                  • java语言的三大特性是什么?如何理解?
                                  • 后端是做什么的?后端开发者需要具备哪些技能?
                                  • 前端入门到工作要多久?结果可能颠覆你的认知!
                                  • Python开发网站好吗?为什么是个好选择?

                                  推荐教程

                                  • 设计模式、高可用性、高弹性、运维、监控与自动化
                                  • 前后端分离的思考与实践
                                  • Susy 2 入门教程
                                  • 让web app更快的HTML5最佳实践
                                  • Stack Overflow 揭秘程式开发者15 个不为人知的秘密

                                  技术文章

                                  • 在 C# 中获取操作系统相关信息
                                  • AI 检索器(AI Retriever):RAG的重要组成部分,超强的商业优势
                                  • 基于知识库、工作流的智能体实践
                                  • 前端性能优化
                                  • 玩转腾讯混元 | 腾讯混元大模型AIGC系列产品技术有奖征文活动

                                  Copyright©2023  字节宝字节宝| |

                                  违法和不良信息举报电话:|举报邮箱:3111859717@qq.com