测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
liqi629
第 52890 位会员 / 2020-05-22
0 篇帖子 • 5 条回帖
0 关注者
1 正在关注
1 收藏
https://www.cnblogs.com/l7planet/
GitHub Public Repos
  • yyapi 1

    测试开发公众号学习记录

  • gallery 0

    Flutter Gallery is a resource to help developers evaluate and use Flutter

  • gsy_flutter_book 0

    Flutter 完整开发实战详解系列,提供在线预览和pdf下载,本系列将完整讲述:如何快速从 0 开发一个完整的 Flutter APP,配套高完成度 Flutter 开源项目 GSYGithu...

  • RedditVideoMakerBot 0

    Create Reddit Videos with just✨ one command ✨

  • flutter-pi 0

    A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.

  • marktext 0

    📝A simple and elegant markdown editor, available for Linux, macOS and Windows.

  • textshot 0

    Python tool for grabbing text via screenshot

  • SeleniumBase 0

    A Python framework that inspires developers to become better test automation engineers. 🧠💡

  • ApiTest 0

    接口测试平台-python3+django+requests实现 公众号:测试开发干货 testerhome社团:测试方舟号

  • django-vue-admin 0

    基于RBAC模型的权限控制的一整套基础开发平台,前后端分离,后端采用 django+django-rest-framework,前端采用 ruoyi-ui +vue+ElementUI。

More on GitHub
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • 新需求点收集贴 at 2021年02月23日

    类似于 httprunner 的 debugtalk 自定义函数的功能。这个功能的实现思路是怎样的呢

  • 使用 python 多进程模块 multiprocessing 并发执行测试用例 at 2020年10月14日

    例如有 2 个 py 文件

    test_a.py

    @pytest.mark.smoke
    @pytest.mark.usefixtures("browser")
    @pytest.mark.usefixtures("case_home")
    class TestUserStoryOne():
    """
    用例之间有依赖,即 1 成功 才能 2 成功,才能 3 成功
    """

    @pytest.mark.parametrize("data", operation_system_1)
    def test_1(self, browser, data):
    pass

    def test_2(self, browser):
    pass

    def test_3(self, browser):
    pass

    test_b.py

    @pytest.mark.smoke
    @pytest.mark.usefixtures("browser")
    @pytest.mark.usefixtures("case_home")
    class TestUserStoryTwo():
    """
    用例之间有依赖,即 1 成功 才能 2 成功,才能 3 成功
    """

    @pytest.mark.parametrize("data", operation_system_1)
    def test_1(self, browser, data):
    pass

    def test_2(self, browser):
    pass

    def test_3(self, browser):
    pass

    正常的运行方式一般是 pytest.main(["-s", "-v","-m=smoke","--html=" + html_report,"--junit-xml=" + xml_report,])

    我想实现。启动 2 个浏览器,分别取运行 test_a.py 和 test_b.py。 而且测试文件中的 case 按照顺序执行。

  • 使用 python 多进程模块 multiprocessing 并发执行测试用例 at 2020年10月14日

    感谢 LZ 的回复。
    这里你的图为什么有好多个浏览器图标呢。我的只有一个

  • 使用 python 多进程模块 multiprocessing 并发执行测试用例 at 2020年10月14日

    你好,请问一下 “目前设置并发数为 6 ”,这里的数量是在哪里设置呢

  • python+selenium grid 并发执行测试用例,不能并发 at 2020年10月13日

    lZ 你好,pytest-xdist 的并发,应该是无序的吧。即同一个测试类里面的 case,不是按照写好的顺序运行

关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
简体中文 / 正體中文 / English

©testerhome.com 测试之家   渝ICP备2022001292号
  渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司