- Paperback: 502 pages
- Publisher: O'Reilly Media; 1 edition (2014)
- Language: English
- ISBN-10: 1449364829
- ISBN-13: 978-1449364823
- Product Dimensions: 7 x 1 x 9.2 inches
- Shipping Weight: 1.7 pounds
- Average Customer Review: 39 customer reviews
Amazon Best Sellers Rank:
#249,294 in Books (See Top 100 in Books)
- #243 in Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Object-Oriented Design
- #265 in Books > Computers & Technology > Programming > Languages & Tools > Python
- #576 in Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Software Development
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Customers who viewed this item also viewed
Customers who bought this item also bought
From the Publisher
Q&A with Author Harry J. W. Percival
Q: Why should folks get "Test-Driven Development with Python?"
A lot of books about testing can be quite abstract, or very simplistic "toy" examples. I wanted to write a more "hands-on" kind of book. I suppose it's because that's how I learned TDD myself -- by pair programming with people who'd been doing it for years. So, in the book, I'm imagining that I'm sitting down and pairing with the reader, and we're going to build a real web application together, and I'm going to explain how to do it with TDD, and why we use each of the testing practices, in specific cases. Also, it's got a goat in it.
Q: Is it just about testing?
Q: Who would get the most out of your book?
In a way the book is aimed at me, four years ago, since it condenses everything I've learned over that time. I think it works really well for a relatively new Python developer, someone that's tried their hand at a couple of small web development projects, enough to get themselves into trouble, and are therefore open to the idea of learning some software engineering quote-unquote best practices. With that said, I've tried to keep the learning curve as shallow as possible, so that complete beginners should be able to follow along, if they're prepared to go away and do a bit of further reading now and again (the Django tutorial, for example). People who've done web development in another language and want to see how things are done in the Python world should also be able to dive in happily.
- The animal on the cover of Test-Driven Development with Python is a cashmere goat. Though all goats can produce a cashmere undercoat, only those goats selectively bred to produce cashmere in commercially viable amounts are typically considered “cashmere goats.” Cashmere goats thus belong to the domestic goat species Capra hircus.The exceptionally fine, soft hair of the undercoat of a cashmere goat grows alongside an outer coat of coarser hair as part of the goat’s double fleece. The cashmere undercoat appears in winter to supplement the protection offered by the outer coat, called guard hair. The crimped quality of cashmere hair in the undercoat accounts for its lightweight yet effective insulation properties.
About the Author
After an idyllic childhood spent playing with BASIC on French 8-bitcomputers like the Thomson T-07 whose keys go "boop" when you press them, Harry went on to study Economics and Philosophy at Cambridge University. He then spent a few years being deeply unhappy as a management consultant. Soon he rediscovered his true geek nature, and was lucky enough to fall in with a bunch of XP fanatics, working on the pioneering but sadly defunct Resolver One spreadsheet. He now works at PythonAnywhere LLP, and spreads the gospel of TDD world-wide at talks, workshops and conferences, with all the passion and enthusiasm of a recent convert.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
I found the chapters on deployment and automating deployment challenging, and ran across a couple of difficulties where I got stuck. But the author provides his email address, and as promised, he helped me through the difficulties. That was great! I never really wanted to learn the Unix environment, but like it or not, most complex web development these days depends on it.
The book is really teaching you two things at once--Django, and test-driven development. As a result, there were times I felt a bit lost in fully understanding the Django code as I followed along. But in reading another Django book afterwards, I was surprised how much I had learned. The author doesn't cover every feature of Django, but really does provide a solid foundation as well as providing a clear, step-by-step experience of test-driven development. Also, the book is quite current in terms of the versions of the software it uses, which I greatly appreciate. I know that many professionals are committed to Python 2.7 because of legacy projects, but I want to be using Python 3.4 or the most current version.
Harry is English, and has a good command of the English language. This is a book that is a pleasure to read and dense with rich content, but still worked very well for me as a novice in Django.
-Pacing is FANTASTIC:
Enough explanation his methodology that beginner Django developers can easily follow along
Tools he uses/points out, as well as conciseness of methods, are a great resource for proficcient/advanced django users.
-Production value is great, i.e. very few typing errors, accurate formatting, visually appealing
-Writing is actually engaging, dorky, witty, and above all interesting
-Uses Python 34 and Django 1.7 (current as of February 2015)
-Learn by doing, i.e. the book creates a ROADMAP that can be followed with any future projects.
-No lengthy tangents, unnecessary details, etc., and chapters are organized well
-Concepts are timeless, and when versions of django/python are obsolete in this book, the concepts will perpetually be relevant
-Not in color (though you can view the online version in color)
-Does provide common errors one might receive (though this helps keep the book concise)
Would highly recommend it to anyone wanting to learn django, improve their developing django, or refresh with a wonderful guide. I will certainly be using it in years to come
TDD is a discipline that takes practice and determination to master, but this book really shows the way very well. It starts out showing how to do basic things the hard way, then later introduces methods that automate the basic tasks, so it does a great job of laying the foundations before building upon them. I highly recommend it for Python programmers in general, and Django developers in particular.
You cannot learn to swim just by watching a video. You need to jump in the water and splash around. In the same way, you cannot just read this book. You need to set up a Django server and really DO the examples and exercises. For that, I would suggest looking at Appendix A. It explains how to set up a free account at pythonanywhere.com. This will save you a lot of time and frustration because everything you need is pre-installed.
Most recent customer reviews
For one, and only one, reason, but it is a doozy, IMHO.Read more
A bit disappointed on the physical quality.Read more