测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
会员
dearestu (HLi)
第 46133 位会员 / 2019-08-18
0 篇帖子 • 11 条回帖
0 关注者
1 正在关注
5 收藏
GitHub Public Repos
  • RSSHub_ 0

    🍰 Everything is RSSible

  • utils 0

    一些日常用到的小工具

  • dearestu.github.io 0

  • pic 0

    图床

  • Markdown-Resume-Template 0

    BAT程序员自己的简历模板分享出来了 。技术简历追求简单明了,避免没有必要的花哨修饰,大家可以fork到自己仓库中,基于这个模板进行修改。

  • TTS 0

  • JD_tencent_scf 0

    京东薅羊毛脚本, 主要用于刷京豆

  • ddddocr 0

    带带弟弟 通用验证码识别OCR pypi版

  • Script 0

    This project is based on the scripting capabilities of two excellent iOS proxy tools, Quantumult ...

  • QuantumultX 0

More on GitHub
  • 個人信息
  • 個人專欄
  • 帖子
  • 回帖
  • 收藏
  • 正在關注
  • 關注者
  • 提前的年度总结 at 2022年10月24日

    我用的 pytest-parallel 和 pytest-html,多线程执行无法收集到正确的日志

    刚刚测试了 xdist,可以收集到日志,谢谢

  • 提前的年度总结 at 2022年10月23日

    请问自动化并发执行后,测试结果的日志怎么处理的,现在我们的日志在自动生成的测试报告里都是乱序的,基本上不能通过日志来排查问题

  • 使用 pytest 框架做接口自动化时,因 token 过期导致用例失败 at 2022年10月23日

    1、找开发延长,或者整个不过期的 token
    2、问开发过期时间,然后写个过期后重新获取 token 的方法

  • 解决 pytest 多线程插件 pytest-parallel 不能和测试报告插件 allure-pytest 兼容的问题 at 2022年10月19日

    为什么可以收集到用例但是没有用例运行
    Python3.8.10
    allure-pytest 2.11.1
    pytest-multithreading 1.0.2
    pytest-multithreading-allure 1.0.5
    pytest-parallel 0.0.10

    (venv) PS C:\Users\hli\Documents\Python\demo> pytest --tests-per-worker 20 --alluredir report 
    ============================================================================================================= test session starts ==============================================================================================================
    platform win32 -- Python 3.8.10, pytest-7.1.3, pluggy-1.0.0
    rootdir: C:\Users\hli\Documents\Python\demo
    plugins: allure-pytest-2.11.1, multithreading-1.0.2, multithreading-allure-1.0.5, parallel-0.0.10
    collected 20 items
    pytest-parallel: 1 worker (process), 20 tests per worker (threads)
    
    ============================================================================================================ no tests ran in 0.03s ============================================================================================================= 
    
  • 多线程运行 pytest 用例,解决 pytest-xdist session 级别的 fixture 运行次数不合理和进程切换更消耗 cpu 的问题 at 2022年10月19日

    我是 3.9.5 版本,报错

    INTERNALERROR>   File "C:\Users\hli\Documents\PycharmProjects\UIAuto\venv\lib\site-packages\pytest_th\__init__.py", line 143, in pytest_sessionstart
    INTERNALERROR>     os.environ = ThreadLocalEnviron(os.environ)
    INTERNALERROR>   File "C:\Users\hli\Documents\PycharmProjects\UIAuto\venv\lib\site-packages\pytest_th\__init__.py", line 90, in __init__
    INTERNALERROR>     env.putenv,
    INTERNALERROR> AttributeError: '_Environ' object has no attribute 'putenv'
    

    降级到 3.8.10 运行成功了

  • 【2021 年终总结】 at 2022年01月26日

    加油,老乡

  • 你凭什么说你是测试有能力?还不是只会吹牛逼? at 2021年12月03日

    大多数不都奔着钱去的么

  • 【docker 安装成功了】有成功搭建 meterSphere 接口平台的同学吗? at 2021年05月31日

    kafka 启动了吗,如果启动了,应该是防火墙的问题

  • Android 流畅度评估及卡顿定位、优化 at 2021年03月23日

    膜拜 学习了 希望以后可以用到

  • 【上海】【米哈游】【内推】web/app 测试【年薪:20w-40w】、游戏测试、测试开发(游戏/非游戏)【年薪 24w-65w 】 at 2021年03月23日

    喜欢原神,不过来不了上海

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

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