图书标签: Python Testing 测试 TDD test python 计算机 编程语言
发表于2024-12-27
Python Testing: Beginner's Guide pdf epub mobi txt 电子书 下载 2024
Automated testing moves much of the labor of testing off the developer and makes it easier as well as quicker to find bugs and fix them. Automated tests run faster, increase test coverage, and lower costs. However, testing is neither an easy process nor remotely exciting for most developers. But with the right techniques and tools, testing can become a simple and gratifying part of the development process.
With this helpful guide – from an expert – in your hand, testing will not be a tiresome topic for you anymore. You will learn how to test your Python projects in the easiest way, making other parts of the development process easier and more enjoyable.
This book covers the tools and techniques of automated testing and test-driven development. Starting from the very basics, the chapters introduce new tools and techniques in simple, accessible language with step-by-step examples. You will explore how to make testing easier and more accurate with Python's doctest module and learn test-driven development using the unittest framework. You will also learn how to keep your units separate from each other and discover a simple and easy way to integrate Mocker and unittest. Next, we cover integration testing and web application testing.
Automated testing gives developers better feedback, faster and more often. Bugs get found sooner and fixed better, with less effort. By the end of this book, you will have all of the skills needed to benefit from automated testing.
Daniel Arbuckle
Daniel Arbuckle holds a Ph.D. in Computer Science from the University of Southern California. While at USC, he performed original research in the Interaction Lab (part of the Center for Robotics and Embedded Systems) and the Laboratory for Molecular Robotics (now part of the Nanotechnology Research Laboratory). His work has been published in peer-reviewed journals and in the proceedings of international conferences.
TDD是实践性很强的东西。此书用doctest贯穿前四章,我认为是非常糟糕的选择。doctest适用于简单的toy类型的单个程序的unittest和API doc,不适合大型的工程性的TDD。另外此书的python代码较老了,有些代码并不能在python 2.7上运行。还有就是此书的讲解过于罗嗦……没有特别提纲挈领的东西。
评分TDD是实践性很强的东西。此书用doctest贯穿前四章,我认为是非常糟糕的选择。doctest适用于简单的toy类型的单个程序的unittest和API doc,不适合大型的工程性的TDD。另外此书的python代码较老了,有些代码并不能在python 2.7上运行。还有就是此书的讲解过于罗嗦……没有特别提纲挈领的东西。
评分里面很多代码都跑不了了
评分多数内容已经在实践中被摸索出来了,但读一遍还是有收获,是经验沉淀为知识的过程
评分TDD是实践性很强的东西。此书用doctest贯穿前四章,我认为是非常糟糕的选择。doctest适用于简单的toy类型的单个程序的unittest和API doc,不适合大型的工程性的TDD。另外此书的python代码较老了,有些代码并不能在python 2.7上运行。还有就是此书的讲解过于罗嗦……没有特别提纲挈领的东西。
评分
评分
评分
评分
Python Testing: Beginner's Guide pdf epub mobi txt 电子书 下载 2024