演讲与教程¶
书籍¶
演讲与博客文章¶
培训: pytest - 简单、快速、有趣的 Python 测试,Florian Bruhin,PyConDE 2022
pytest: 简单、快速、有趣的 Python 测试, (@ 4:22:32),Florian Bruhin,WeAreDevelopers World Congress 2021
网络研讨会: pytest: 面向 Python 的测试驱动开发 (德语),Florian Bruhin,通过 mylearning.ch,2020
网络研讨会: 使用 Fixture 简化您的测试,Oliver Bestwalter,通过 JetBrains,2020
培训: pytest 简介 - 简单、快速、有趣的 Python 测试,Florian Bruhin,PyConDE 2019
使用 pytest 框架轻松测试 PySide/PyQt 代码,Florian Bruhin,Qt World Summit 2019 (幻灯片, 录像)
pytest: Python 和 Django 测试的推荐和基本包,Andreu Vallbona,PyBCN 2019 年 6 月.
pytest: Python 和 Django 测试的推荐和基本包,Andreu Vallbona,PyconES 2017 (英文幻灯片, 西班牙语视频)
pytest: 帮助您编写更好的 Django 应用,Andreas Pelme,DjangoCon Europe 2014.
使用 py.test 进行 Pythonic 测试,Vinicius Belchior Assef Neto,Plone Conf 2013, 巴西.
Brianna Laugher 在 pycon Australia 2012 的 pytest 演讲 (视频, 幻灯片, 代码)
正确地进行 monkey patching (博客文章,查阅 monkeypatch 插件 获取最新 API)
测试参数化
参数化测试,通用化 (博客文章)
将测试钩子放入本地或全局插件 (博客文章)
断言内省
分布式测试
同时在所有平台上测试您的代码 (博客条目)
特定于插件的示例
默认跳过 pytest 中的慢速测试 (博客条目)