Test- Driven Python Development, by Siddharta Govindaraj
Obtain the link to download this Test- Driven Python Development, By Siddharta Govindaraj and start downloading and install. You can want the download soft documents of guide Test- Driven Python Development, By Siddharta Govindaraj by undertaking other activities. And that's all done. Currently, your turn to check out a book is not consistently taking and lugging guide Test- Driven Python Development, By Siddharta Govindaraj everywhere you go. You can conserve the soft documents in your gizmo that will never ever be away and review it as you like. It is like reading story tale from your gizmo then. Now, start to enjoy reading Test- Driven Python Development, By Siddharta Govindaraj as well as get your new life!
Test- Driven Python Development, by Siddharta Govindaraj
Free PDF Ebook Test- Driven Python Development, by Siddharta Govindaraj
Develop high-quality and maintainable Python applications using the principles of test-driven development
About This Book
- Write robust and easily maintainable code using the principles of test driven development
- Get solutions to real-world problems faced by Python developers
- Go from a unit testing beginner to a master through a series of step-by-step tutorials that are easy to follow
Who This Book Is For
This book is intended for Python developers who want to use the principles of test-driven development (TDD) to create efficient and robust applications. In order to get the best out of this book, you should have development experience with Python.
What You Will Learn
- Implement the test-driven development process in Python applications
- Fully leverage Python's powerful built-in unittest and doctest modules
- Effectively add features to existing code bases that do not have any tests
- Safely resolve problems with the code and design, without breaking any functionality
- Utilize Python's powerful mock and patch functionality to test complex interactions
- Integrate unit testing into the overall software delivery process
- Use doctest to test code with examples
- Enhance TDD with the nose2 test runner
In Detail
This book starts with a look at the test-driven development process, and how it is different from the traditional way of writing code. All the concepts are presented in the context of a real application that is developed in a step-by-step manner over the course of the book. While exploring the common types of smelly code, we will go back into our example project and clean up the smells that we find.
Additionally, we will use mocking to implement the parts of our example project that depend on other systems. Towards the end of the book, we'll take a look at the most common patterns and anti-patterns associated with test-driven development, including integration of test results into the development process.
Test- Driven Python Development, by Siddharta Govindaraj- Amazon Sales Rank: #820545 in Books
- Published on: 2015-03-31
- Released on: 2015-04-29
- Original language: English
- Number of items: 1
- Dimensions: 9.25" h x .60" w x 7.50" l, 1.01 pounds
- Binding: Paperback
- 300 pages
About the Author
Siddharta Govindaraj
Siddharta Govindaraj first encountered Python in 2002, and it has remained his favorite programming language ever since. He was an early participant in BangPypers, India's first Python community, and a speaker at InPycon. He is the founder of Silver Stripe Software, an Indian product start-up that develops products based on Python. A vocal proponent of the language, Siddharta extols the virtues of Python to anyone who will listen―and also to those who won't. His blog is at http://www.siddharta.me.
Where to Download Test- Driven Python Development, by Siddharta Govindaraj
Most helpful customer reviews
1 of 1 people found the following review helpful. Great book to learn about TDD and how to make the best out of it. By Miguel Rentes This book provides an excellent learning artifact and reference to the Test-Driven Development practice. Even if you have already used TDD in your software projects or continue to use it, you will benefit a lot of reading this book, because it will show you how to take the most out of using TDD with Python's unittest built-in module in a simple software application to follow. The book is also very easy and accessible to read. It makes the reader acknowledge all the power of TDD and the tools the author uses to extend the TDD practice is a value asset to use on any software project.Why this is a great book to me:- The TDD approach is carefully explained and the importance of using it in our software projects;- The software application the author uses as an example on how to use TDD is simple to understand, and it is a real world software application, not an abstract example; We go carefully into every module of this application while improving our application with TDD;- This book covers Refactoring Patterns and Anti-Patterns and how to avoid recurrent Code Smells;- Explains how to use Mock Objects to test interactions between multiple objects;- Tells us how to deal with legacy code which have no tests. This is a must-read chapter!- Shows us how to maintain our test suite with docstrings, custom test class hierarchies, fixtures, helper methods, custom assert matches, equality functions and matchers to make our code more readable;- Covers executable documentation with Python's doctest module, on methods, classes, modules and packages;- Shows us how to extend Python's unittest with nose2, a powerful third-party tool and plugin suite;- Covers Unit Test Patterns, from Mocking Patterns, Spies, Generator functions, to Mocking with Mutable Arguments;- A rich set of powerful tools is gathered in this book: from third-party tools and Python's built-in modules, build tools, packaging tools, continuous integration tools, documentation tools and current TDD IDE integration;- Python 3.4 throughout this book, although the author has compiled an annex on how to use the code samples in Python 2.6 as well.Overall, this is a great book to read and to use in every software development process. After reading this book I can't think of any reason why any software projects shouldn't have tests anymore, and shouldn't be continuous integrated as well. This book shows exactly how to achieve the best out of the TDD approach with the current tools in Python 3. It's well worth a read and to have at hand, no doubt.
0 of 0 people found the following review helpful. Good info, could use some revisions By tony I was really excited to review this book. I've already read the Django TDD book by Henry Percival and covered the Testing Python book by David Sale, they were both really informative and covered TDD principles and tools in a manner I found clear and easy to understand. That being said, this book started to lose me around the 3rd chapter. Here's my analysis:Pros:-The author covers a lot of really good topics related to TDD. Code smells, refactoring, how to address a pre-existing code base that you're walking into for the first time were all topics I found to be really helpful.-The book challenged me to learn about Python topics that I had not previously known about. I wasn't sure how @classmethod worked or what the setUpClass method did in unittesting, but I certainly looked them up when the book presented them to me and was sure to fully understand them before proceeding.-The code coverage is available on GitHub, which is always great, so you can follow along easily.Cons:-I felt like the organization of the book started to slack around the 2nd chapter in Exploring the Rule classes. The whole point of TDD is for the programmer to write the tests first and the implementation code 2nd. We make the tests fail, we write code until it passes, we move on. Then we refactor. Great. Why, in the 2nd chapter, are we then presented with implementation code (no tests), then a discussion of TDD principles, followed by "here's the tests and they should pass".-Further to this point, it started to get difficult to read in chapter 3 which begins discussion of a new functionality, dual crossover moving average. Immediately, we get the implementation code (again, no tests) followed by a discussion about renaming variable and renaming method refactoring methods, both of which involve running the tests first to make sure they pass. When it comes time to implement this code, the author simply says "the tests are in the exercise section". So I'm supposed to read up to that point, then skip to the end to check out the exercises and get the tests, then go back and continue working on the code base? Furthermore, I am looking at the exercises as I type this and there is no presentation of those tests whatsoever.-Finally, while the book does cover some good topics, there are times when it gets a little off topic (I guess). For instance, in the section regarding commenting styles, we begin discussion about how to properly write comments (of course). However, rather than applying this to the current code base and application we are working on, the author gives an example of determining if people are old enough to receive a senior citizen discount. I know this is a simple example, but why switch gears when we could have easily applied this to what was being worked on (there was a presentation of a very poorly written method at the beginning of the chapter). All in all, I wouldn't say this was a poor book, I've read some O'Reilly work that could make you want to quit programming altogether, but I do think there could be some effective revisions to make it easier to read and understand. I have a lot of respect for authors who decide to take on TDD as it is a discipline and requires constant effort and attention. That being said, I would recommend this book to review the principles and topics discussed, but not necessarily to follow along in a step by step manner.
1 of 1 people found the following review helpful. Great introduction and in-depth explanation of Testing in Python. By Jacob Zimmerman Cons:- Kindle format text is WAY too big (at least on my device) - they're looking into getting this fixed if they can- Packt Publishing didn't do the best job with editing. There are quite a few (not a LOT, but enough to be a bit annoying) mistakes of all kinds. Missing words, code mistakes, typos, etc.- A TDD book that only starts off showing TDD, then mostly doesn't show tests until after showing the code.Pros:+ Great at introducing TDD and unit testing in python, then really digging into the more advanced stuff.+ First thing I've found that explains Python's built-in mocking framework very well.+ Doesn't repeat too much and doesn't move too quicklyNote: Only 3 or 4 (out of 10) chapters are truly about TDD as opposed to just unit testing. It's up to you whether this is good or bad.
See all 3 customer reviews... Test- Driven Python Development, by Siddharta GovindarajTest- Driven Python Development, by Siddharta Govindaraj PDF
Test- Driven Python Development, by Siddharta Govindaraj iBooks
Test- Driven Python Development, by Siddharta Govindaraj ePub
Test- Driven Python Development, by Siddharta Govindaraj rtf
Test- Driven Python Development, by Siddharta Govindaraj AZW
Test- Driven Python Development, by Siddharta Govindaraj Kindle
Tidak ada komentar:
Posting Komentar