Pytest 教程 - 帮助手册

白天 夜间 首页 下载 阅读记录
  我的书签   添加书签   移除书签

pytest-bdd

浏览 137 扫码 分享 2022-07-22 02:03:08
  • what's bdd (simple)
  • Introduction to pytest-bdd
  • Step aliases
  • Step arguments
  • Step target_fixture
  • Multiline steps
  • Scenarios shortcut
  • Scenario outlines
  • Organizing your scenarios and mark
  • Backgrounds
  • Feature file paths
  • Avoid retyping the feature file name
  • hooks

若有收获,就点个赞吧

0 人点赞

上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • pytest-bdd
    • what's bdd (simple)
    • Introduction to pytest-bdd
    • Step aliases
    • Step arguments
    • Step target_fixture
    • Multiline steps
    • Scenarios shortcut
    • Scenario outlines
    • Organizing your scenarios and mark
    • Backgrounds
    • Feature file paths
    • Avoid retyping the feature file name
    • hooks
  • Pytest 入门教程
    • 1. 快速入门和基础讲解
    • 2. assert 断言详细使用
    • 3. setup 和 teardown 的详细使用
    • 4. fixture 的详细使用
    • 5. 测试用例执行后的几种状态
    • 6. conftest.py 的详细讲解
    • 7. skip、skipif 跳过用例
    • 8. 使用自定义标记 mark
    • 9. 参数化 @pytest.mark.parametrize
    • 10. fixture 函数中使用参数 request 的详细讲解
    • 11. 失败重跑插件 pytest-rerunfailures 的详细使用
    • 12. 生成 HTML 测试报告插件之 pytest-html 的详细使用
    • 13. 重复执行用例插件之 pytest-repeat 的详细使用
    • 14. 配置文件 pytest.ini 的详细使用
    • 15. 多重校验插件之 pytest-assume 的详细使用
    • 16. 分布式测试插件之pytest-xdist的详细使用
    • 17. pytest-xdist 分布式测试的原理和流程
    • 18. allure 环境准备
    • 19. 超美测试报告插件之 allure-pytest 的基础使用
    • 20. 我们需要掌握的 allure 特性
    • 21. allure 的特性之 @allure.step()、allure.attach 的详细使用
    • 22. allure 的特性之 @allure.description()、@allure.title() 的详细使用
    • 23. allure 的特性之 @allure.link()、@allure.issue()、@allure.testcase() 的详细使用
    • 24. allure 打标记之 @allure.epic()、@allure.feature()、@allure.story() 的详细使用
    • 25. @allure.severity 标记用例级别
    • 26. 清空 allure 历史报告记录
    • 27. allure 命令行参数
    • 28. 参数化 parametrize @allure.title() 动态生成标题
    • 29. 详解 allure.dynamic 动态生成的功能
    • 30. 使用 pytest-xdist 分布式插件,如何保证 scope=session 的 fixture 在多进程运行情况下仍然能只运行一次
暂无相关搜索结果!

    让时间为你证明

    展开/收起文章目录

    分享,让知识传承更久远

    文章二维码

    手机扫一扫,轻松掌上读

    文档下载

    请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
    PDF文档 EPUB文档 MOBI文档

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度

        思维导图备注