圖書標籤: Python Testing 測試 TDD test python 計算機 編程語言
发表于2024-12-28
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上運行。還有就是此書的講解過於羅嗦……沒有特彆提綱挈領的東西。
評分裏麵很多代碼都跑不瞭瞭
評分多數內容已經在實踐中被摸索齣來瞭,但讀一遍還是有收獲,是經驗沉澱為知識的過程
評分
評分
評分
評分
Python Testing: Beginner's Guide pdf epub mobi txt 電子書 下載 2024