楼主: igs816
3919 25

[书籍介绍] Python Testing with pytest (PDF) [推广有奖]

泰斗

5%

还不是VIP/贵宾

-

威望
9
论坛币
2694456 个
通用积分
18516.7861
学术水平
2744 点
热心指数
3467 点
信用等级
2560 点
经验
484578 点
帖子
5415
精华
52
在线时间
3589 小时
注册时间
2007-8-6
最后登录
2024-4-26

高级学术勋章 特级学术勋章 高级信用勋章 特级信用勋章 高级热心勋章 特级热心勋章

楼主
igs816 在职认证  发表于 2018-6-29 12:03:47 |只看作者 |坛友微信交流群|倒序 |AI写论文
相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
7OpZCsUAHvKLmrCgkdFE9uc6Qju63Hta.jpg

2017 | ISBN: 1680502409 | English | 222 pages | True PDF

Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. The pytest testing framework helps you write tests quickly and keep them readable and maintainable - with no boilerplate code. Using a robust yet simple fixture model, it's just as easy to write small tests with pytest as it is to scale up to complex functional testing for applications, packages, and libraries. This book shows you how.

For Python-based                                                                                                                                                                                                                                                                                                                                                                                                                                                       projects, pytest is the undeniable choice to test your code if you're looking for a full-featured, API-independent, flexible, and extensible testing framework. With a full-bodied fixture model that is unmatched in any other tool, the pytest framework gives you powerful features such as assert rewriting and plug-in capability - with no boilerplate code.

With simple step-by-step instructions and sample code, this book gets you up to speed quickly on this easy-to-learn and robust tool. Write short, maintainable tests that elegantly express what you're testing. Add powerful testing features and still speed up test times by distributing tests across multiple processors and running tests in parallel. Use the built-in assert statements to reduce false test failures by separating setup and test failures. Test error conditions and corner cases with expected exception testing, and use one test to run many test cases with parameterized testing. Extend pytest with plugins, connect it to continuous integration systems, and use it in tandem with tox, mock, coverage, unittest, and doctest.

Write simple, maintainable tests that elegantly express what you're testing and why.

What You Need:

The examples in this book are written using Python 3.6 and pytest 3.0. However, pytest 3.0 supports Python 2.6, 2.7, and Python 3.3-3.6.

本帖隐藏的内容

Python Testing with pytest - Simple, Rapid, Effective, and Scalable.pdf (4.61 MB, 需要: 10 个论坛币)



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:TESTING python test With Est

已有 2 人评分经验 学术水平 收起 理由
yunnandlg + 100 + 5 精彩帖子
刘彦楼 + 100 + 5 精彩帖子

总评分: 经验 + 200  学术水平 + 10   查看全部评分

沙发
sigmund 在职认证  发表于 2018-6-29 15:52:44 |只看作者 |坛友微信交流群
it seems good book.

使用道具

藤椅
songdg 发表于 2018-6-29 17:06:17 |只看作者 |坛友微信交流群
With simple step-by-step instructions and sample code, this book gets you up to speed quickly on this easy-to-learn and robust tool. Write short, maintainable tests that elegantly express what you're testing

使用道具

板凳
pika44 发表于 2018-6-29 17:39:40 |只看作者 |坛友微信交流群
好书,关注

使用道具

报纸
phipe 发表于 2018-6-29 21:12:08 |只看作者 |坛友微信交流群
谢谢分享

使用道具

地板
xjg 发表于 2018-6-29 22:07:24 |只看作者 |坛友微信交流群

使用道具

7
heiyaodai 发表于 2018-6-29 22:25:41 |只看作者 |坛友微信交流群
谢谢分享

使用道具

8
phg890722 在职认证  发表于 2018-6-29 22:59:17 |只看作者 |坛友微信交流群
谢谢分享

使用道具

9
Simmon23 发表于 2018-6-30 01:15:06 |只看作者 |坛友微信交流群

使用道具

10
xiang8482890 在职认证  发表于 2018-6-30 07:02:54 |只看作者 |坛友微信交流群
谢谢楼主分享!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-27 01:16