推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
seanxdx
V2EX  ›  Python

分享《pytest 测试实战》

  •  
  •   seanxdx · Jul 25, 2019 · 8322 views
    This topic created in 2673 days ago, the information mentioned may be changed or developed.
    部门头头要求写单元测试,上网买了一本,花了一下午看了一遍,读起来很流畅,翻译的可以,没有读起来别扭的地方。基本上把 pytest 相关的知识都提到了,基础不好的人读起来也不会困难。对于要上手 pytest 或想浏览 pytest 框架功能的人来说很合适。写测试对提高代码质量很有帮助,推荐下。

    这里有篇试读(需下载)
    https://pan.baidu.com/s/1aFMy0_ybaXjJa09h0gHP0g
    12 replies  •  2019-07-29 09:49:58 +08:00
    simple2025
    simple2025
    Jul 25, 2019
    1
    还是 unittest 简单。。
    j0hnj
    j0hnj
    Jul 25, 2019 via iPhone
    2
    感谢,已下单
    dayeye2006199
    dayeye2006199
    Jul 25, 2019
    3
    pytest 的文档写的也很棒
    mixure
    mixure
    Jul 25, 2019
    4
    头他会写吗
    seanxdx
    seanxdx
    OP
    Jul 25, 2019
    5
    @j0hnj 不客气。
    seanxdx
    seanxdx
    OP
    Jul 25, 2019
    6
    @mixure 没敢问:)
    janxin
    janxin
    Jul 25, 2019
    7
    =,=所有不提供个完整电子版下载吗?
    tcpdump
    tcpdump
    Jul 25, 2019
    8
    @janxin 支持作者,反对电子 PDF
    ManjusakaL
    ManjusakaL
    Jul 25, 2019
    9
    不过网上没电子版出售啊(官方电子书
    glasslion
    glasslion
    Jul 25, 2019
    10
    @chenqh pytest 比 unittest 简单
    seanxdx
    seanxdx
    OP
    Jul 26, 2019
    11
    @ManjusakaL 好像只有纸书卖。
    seanxdx
    seanxdx
    OP
    Jul 29, 2019
    12
    @janxin 我只有纸书。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3351 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 105ms · UTC 00:59 · PVG 08:59 · LAX 16:59 · JFK 19:59
    ♥ Do have faith in what you're doing.