22 Mart 2010 Pazartesi

[U561.Ebook] Download Ebook Test-Driven Python Development, by Siddharta Govindaraj

Download Ebook Test-Driven Python Development, by Siddharta Govindaraj

Why should be publication Test-Driven Python Development, By Siddharta Govindaraj Book is one of the easy sources to seek. By getting the writer and also motif to obtain, you could locate so many titles that supply their data to obtain. As this Test-Driven Python Development, By Siddharta Govindaraj, the inspiring book Test-Driven Python Development, By Siddharta Govindaraj will provide you what you need to cover the task due date. And why should remain in this site? We will ask first, have you much more times to go with going shopping guides and also look for the referred publication Test-Driven Python Development, By Siddharta Govindaraj in book store? Many individuals could not have enough time to discover it.

Test-Driven Python Development, by Siddharta Govindaraj

Test-Driven Python Development, by Siddharta Govindaraj



Test-Driven Python Development, by Siddharta Govindaraj

Download Ebook Test-Driven Python Development, by Siddharta Govindaraj

Only for you today! Discover your preferred publication right below by downloading and install and obtaining the soft file of the publication Test-Driven Python Development, By Siddharta Govindaraj This is not your time to traditionally go to guide shops to purchase a publication. Below, varieties of publication Test-Driven Python Development, By Siddharta Govindaraj as well as collections are offered to download and install. One of them is this Test-Driven Python Development, By Siddharta Govindaraj as your preferred publication. Obtaining this e-book Test-Driven Python Development, By Siddharta Govindaraj by online in this website could be recognized now by seeing the link web page to download and install. It will be easy. Why should be right here?

It is not secret when connecting the composing abilities to reading. Checking out Test-Driven Python Development, By Siddharta Govindaraj will make you obtain more resources and also sources. It is a manner in which could improve how you overlook and also understand the life. By reading this Test-Driven Python Development, By Siddharta Govindaraj, you could more than just what you get from other book Test-Driven Python Development, By Siddharta Govindaraj This is a widely known book that is released from famous publisher. Seen type the author, it can be trusted that this book Test-Driven Python Development, By Siddharta Govindaraj will provide numerous motivations, about the life and also experience as well as everything within.

You might not should be doubt concerning this Test-Driven Python Development, By Siddharta Govindaraj It is uncomplicated method to obtain this publication Test-Driven Python Development, By Siddharta Govindaraj You could merely go to the established with the link that we give. Here, you could buy guide Test-Driven Python Development, By Siddharta Govindaraj by on the internet. By downloading Test-Driven Python Development, By Siddharta Govindaraj, you could locate the soft documents of this book. This is the local time for you to begin reading. Even this is not published book Test-Driven Python Development, By Siddharta Govindaraj; it will exactly give even more advantages. Why? You could not bring the printed book Test-Driven Python Development, By Siddharta Govindaraj or stack guide in your property or the workplace.

You can finely include the soft file Test-Driven Python Development, By Siddharta Govindaraj to the gadget or every computer unit in your office or house. It will help you to always continue reading Test-Driven Python Development, By Siddharta Govindaraj whenever you have spare time. This is why, reading this Test-Driven Python Development, By Siddharta Govindaraj doesn't offer you troubles. It will give you crucial sources for you that intend to start writing, blogging about the similar publication Test-Driven Python Development, By Siddharta Govindaraj are different book field.

Test-Driven Python Development, by Siddharta Govindaraj

Develop high-quality and maintainable Python applications using the principles of test-driven developmentAbout 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.

  • Sales Rank: #247849 in eBooks
  • Published on: 2015-04-29
  • Released on: 2015-04-29
  • Format: Kindle eBook

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.

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.

2 of 2 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 quickly

Note: 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 Govindaraj PDF
Test-Driven Python Development, by Siddharta Govindaraj EPub
Test-Driven Python Development, by Siddharta Govindaraj Doc
Test-Driven Python Development, by Siddharta Govindaraj iBooks
Test-Driven Python Development, by Siddharta Govindaraj rtf
Test-Driven Python Development, by Siddharta Govindaraj Mobipocket
Test-Driven Python Development, by Siddharta Govindaraj Kindle

[U561.Ebook] Download Ebook Test-Driven Python Development, by Siddharta Govindaraj Doc

[U561.Ebook] Download Ebook Test-Driven Python Development, by Siddharta Govindaraj Doc

[U561.Ebook] Download Ebook Test-Driven Python Development, by Siddharta Govindaraj Doc
[U561.Ebook] Download Ebook Test-Driven Python Development, by Siddharta Govindaraj Doc

Hiç yorum yok:

Yorum Gönder