Shop top categories that ship internationally
Save with Used - Like New
EUR15.85
EUR 9.31 delivery Thursday, January 29
Ships from: Amazon
Sold by: Blue Crane, LLC
EUR 15.85
FREE International Returns
The dust cover and cover are in excellent condition, free from any nicks or tears. The spine shows no creasing, and the binding is tight and strong. The pages are crisp, clean, and free from any notes, folds, marks, or highlights. There are minimal, if any, signs of wear. This item is eligible for FREE Super Saving Shipping and features fast Amazon shipping along with a hassle-free return policy! The dust cover and cover are in excellent condition, free from any nicks or tears. The spine shows no creasing, and the binding is tight and strong. The pages are crisp, clean, and free from any notes, folds, marks, or highlights. There are minimal, if any, signs of wear. This item is eligible for FREE Super Saving Shipping and features fast Amazon shipping along with a hassle-free return policy! See less
EUR 9.31 delivery Thursday, January 29. Order within 14 hrs 8 mins
Only 1 left in stock - order soon.
EUR EUR 15.85 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
EUR EUR 15.85
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
EUR 15.84
FREE International Returns
EUR 9.31 delivery Wednesday, January 28. Order within 8 hrs 20 mins
Only 1 left in stock - order soon.
EUR EUR 15.85 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
EUR EUR 15.85
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Other sellers on Amazon
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and JavaScript 1st Edition

4.2 out of 5 stars (70)

{"desktop_buybox_group_1":[{"displayPrice":"EUR 15.85","priceAmount":15.85,"currencySymbol":"EUR","integerValue":"15","decimalSeparator":".","fractionalValue":"85","symbolPosition":"left","hasSpace":true,"showFractionalPartIfEmpty":true,"offerListingId":"lpGckETvk1LuQvRJNJGn0ZGhx1hck0%2BwLAgtOYbFP%2B3tiO9jyz0SbpVzafyx5OFU3bEaehAOCMFJ5tD0ouok1Sx22icFW%2FDQqcawrsyYT5%2BMoqfjzZnWZDV%2BzgqolvVlC%2B15Svx2BL0mtn1Fs6ksofZ6pKGMB8WqM4DHsE4se5nZtqE7cw%2B7sDZ6n6Dc%2BXyF","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":0}, {"displayPrice":"EUR 15.84","priceAmount":15.84,"currencySymbol":"EUR","integerValue":"15","decimalSeparator":".","fractionalValue":"84","symbolPosition":"left","hasSpace":true,"showFractionalPartIfEmpty":true,"offerListingId":"lpGckETvk1LuQvRJNJGn0ZGhx1hck0%2BwYF5kPNY%2FekvJeluU90GmwtzYrH1ZQkcpddJuDI7U%2FUL9ncf4z%2FsiX%2BZFVOsQgMp8N6RX7AsFKeG139hBhDGn6h2TPVIZs%2BlmrgIEs4RRTNgu4fb4s266NRrNdANLdC4ew1pXtX%2FyQae7RZQ8w9W7bvV2vyxdwHEC","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You’ll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The result? Clean code that works.

In the process, you’ll learn the basics of Django, Selenium, Git, jQuery, and Mock, along with current web development techniques. If you’re ready to take your Python skills to the next level, this book clearly demonstrates how TDD encourages simple designs and inspires confidence.

  • Dive into the TDD workflow, including the unit test/code cycle and refactoring
  • Use unit tests for classes and functions, and functional tests for user interactions within the browser
  • Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests
  • Test and automate your deployments with a staging server
  • Apply tests to the third-party plugins you integrate into your site
  • Use a Continuous Integration environment to run your tests automatically

From the brand

Editorial Reviews

About the Author

After an idyllic childhood spent playing with BASIC on French 8-bit computers 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.

Product details

  • Publisher ‏ : ‎ O'Reilly Media
  • Publication date ‏ : ‎ January 1, 2014
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 502 pages
  • ISBN-10 ‏ : ‎ 1449364829
  • ISBN-13 ‏ : ‎ 978-1449364823
  • Item Weight ‏ : ‎ 1.74 pounds
  • Dimensions ‏ : ‎ 7 x 1.25 x 9.25 inches
  • Best Sellers Rank: #2,406,698 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.2 out of 5 stars (70)

About the author

Follow authors to get new release updates, plus improved recommendations.
Harry J.W. Percival
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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.

Customer reviews

4.2 out of 5 stars
70 global ratings

Customers say

Customers find the book highly informative and easy to read, appreciating how it leads them through using various tools step-by-step. Moreover, the writing style is clear, and customers consider it worth reading. However, the book receives mixed feedback regarding Python knowledge, with some customers finding it horrible for learning TDD. Additionally, the programming knowledge aspect also gets mixed reviews.
AI Generated from the text of customer reviews

Select to learn more

15 customers mention enlightened content, 14 positive, 1 negative
Customers appreciate the book's highly informative style and how it leads readers through using various tools step-by-step, with one customer noting it teaches both Django and testing methodologies simultaneously.
This author has a great engaging and highly informative style. You learn a lot of stuff at one time and very well....Read more
Wonderful book that leads you through using these tools. It is easy to read and leads you through the steps one at a time....Read more
...But the real gift has been learning about test driven development....Read more
...methods that automate the basic tasks, so it does a great job of laying the foundations before building upon them....Read more
9 customers mention reading value, 8 positive, 1 negative
Customers find the book engaging and worth reading.
This author has a great engaging and highly informative style. You learn a lot of stuff at one time and very well....Read more
I am really enjoying this book. Harry does a good job of covering all of the details but not in an overwhelming way....Read more
...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.Read more
...What a wonderful piece of work by Harry ! This book is worth reading if you want to delve into Django based web development...Read more
5 customers mention writing style, 4 positive, 1 negative
Customers appreciate the writing style of the book, with one noting it is clear and engaging, while another mentions there are very few typing errors.
...The writing style is clear and easy to read, the instructions are thorough and there is emphasis given to points that should not be overlooked....Read more
...The book is wall writing and I could easily walk with the book and understand what I'm doing and why (which is very very important)....Read more
...and engaging way, but you learn not just code but what good coding workflow feels like....Read more
Could'nt hold my interest to complete the book. Not good writingRead more
3 customers mention ease of reading, 3 positive, 0 negative
Customers find the book easy to read.
...The writing style is clear and easy to read, the instructions are thorough and there is emphasis given to points that should not be overlooked....Read more
...It makes it easier to follow along, and the author is engaging albeit informal....Read more
Wonderful book that leads you through using these tools. It is easy to read and leads you through the steps one at a time....Read more
4 customers mention python knowledge, 2 positive, 2 negative
Customers have mixed opinions about the book's Python knowledge content, with some finding it horrible for learning TDD.
...This book would be good for both someone new to python/django as well as to someone who is just wanting to learn about TDD....Read more
This is a horrible book for learning TDD because it's far too Djago focused. I don't use Django, I dpon't do web development....Read more
For complete beginner in TDD and Python/Django.Read more
Not recommend for somewhat advanced users, or absolute beginners....Read more
3 customers mention programming knowledge, 2 positive, 1 negative
Customers have mixed opinions about the programming knowledge in the book, with one customer noting it feels like doing pair programming, while another finds it dry.
...It feels like doing pair programming; the material is presented in a clear and engaging way, but you learn not just code but what good coding...Read more
...My only complaint is that it's ruined regular, dryer books on programming for me!Read more
...Apart from TDD you will learn about Django, git, and the whole workflow of a developer....Read more

Top reviews from the United States

  • Reviewed in the United States on November 9, 2015
    This is the first book on Django I read after completing the online tutorial, and it has been terrific. But the real gift has been learning about test driven development. I have run across test tools before, like Jasmine, but have never been motivated to use them. But this book walks you through, step by tiny step. I had to commit to doing it his way, but I love the results! I really see the benefits of this approach towards development. Although it seems as if it takes at least twice as long, especially at the beginning, with a project of any complexity, it actually saves time, and more importantly, prevents bugs.

    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.
    6 people found this helpful
    Report
  • Reviewed in the United States on September 9, 2016
    Format: PaperbackVerified Purchase
    This book examines Test Driven Developement (TDD) using Python and the Django framework to build a website. Knowing some Django will help a lot with this book.

    The site developed throughout the book is a note taking web application whereby a person can create a todo list, or any other type of list.

    TDD relies on writing tests first and then writing the corresponding code to satisfy the tests. Tests can usually be broken down into functional tests or unit tests, and the author is pretty good at explaining how it works.

    Some of the early tests start out pretty simple such as creating a test to see if the web server is running. Later as the foundation of the application is built, the tests get more complicated.

    For the beginning chapters the test driven approach made a lot of sense. However, later on as Javascript code was introduced I did not see as much benefits to the testing approach. Although the author mentions that TDD is something you really have to try yourself to get the full benefits.

    Overall the note taking app was not that complicated, and I am just not that sure how much the tests helped in the creation of the app. The author even mentioned he could create the app without the tests. In this case, I missed some point along the way of why all the tests were needed.

    The author has a nice approach of using Git to checkin and commit often. Refactoring is done as well often; both on the tests and the code. It seemed a lot of the lessons of the book were to check in often and refactor often. I could not really tell whether the benefits came from using git well, or from using the tests well.

    A nice aspect of this book is that it starts building the website from the bottom up, and goes piece by piece. It makes it easier to follow along, and the author is engaging albeit informal. I got a pretty good impression of how TDD works although I was not totally sold on it. This book is worth exploring if you want to learn more about TDD.
    3 people found this helpful
    Report
  • Reviewed in the United States on February 1, 2015
    Format: PaperbackVerified Purchase
    Simply put, best django book on the market right now

    Pros:
    -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

    Cons:
    -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
    10 people found this helpful
    Report
  • Reviewed in the United States on August 28, 2015
    Format: PaperbackVerified Purchase
    This is one of the best programming books I have bought. It covers Django, which I love and have been using for years, and showed me how it was possible to test browser output, not just internal functions. I had some difficulty with Selenium on my system at first (not the book's fault), which stalled my use of it for a couple months, but that got resolved by a later software update and I was able to start following the examples again.

    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.
    2 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Amazon Customer
    3.0 out of 5 stars Three Stars
    Reviewed in Canada on June 10, 2017
    Not the best book out there
  • Hopefully Helpful
    5.0 out of 5 stars Well balanced between important ideas and necessary detail
    Reviewed in the United Kingdom on November 5, 2014
    Format: PaperbackVerified Purchase
    I really appreciate the author's attention to detail. Just the right balance, so as not to lose the view from above whilst being very clear about (to me) very important disclosures about his thought process. At random: “But we won’t do them [refactoring] right away, because right now our application is in a broken state.” Again: His thinking out loud about why you’d tend to Model Layer validation rather towards a plethora of form validation. Good to think about; good to hear his reasoning.

    I think the author'a been very clever to combine so large a number of really important ideas and, at the same time, pay justice to them with just the right amount of detail.

    It’s so important, this detail. The hundreds of little micro-decisions a programmer decides during each hour of programming: what to call this variable? should I commit now? should I refactor yet? Is it worth writing a test for this? I should break this file / function into smaller pieces as I’m losing control of the idea ….

    So, to be able to read along with the author's thought processes as we explore new ways of doing things: making micro-decisions about new things we’re just getting to grips with and that still feel a little unfamiliar under our fingers … I very much and appreciate this book. It’s certainly been an eye-opener for me.

    Plus ... it's an enjoyable read!
  • Luis Lázaro
    5.0 out of 5 stars Buena Entrega
    Reviewed in Mexico on October 27, 2015
    Format: PaperbackVerified Purchase
    Entrega del libro con rapidez, cuidado y en buen estado, sin maltratos por parte de la paquetería dhl y en menos de 24 horas
    Report
  • Ramon Maria
    5.0 out of 5 stars Encantado con el libro
    Reviewed in Spain on October 31, 2014
    Format: PaperbackVerified Purchase
    No es simplemente un libro de TDD o Django, es un 'todo-en-uno'. Con esto me refiero a que teniendo como telón de fondo TDD te explica como realizar instalaciones tanto en entornos de staging como de producción (en Amazon o similares) para que tus aplicaciones funcionen sin problemas.

    En mi opinión, capítulos como el 14 (Deploying Our New Code) y el 20 (Continuous Integration) le dan un plus y lo hacen destacar respecto de otros libros que también tratan sobre Django. En dos capítulos tienes compiladas una serie de prácticas que pueden ser varios posts en diferentes blogs de Internet y que te permitirán tener tu aplicación 'up-and-running' y testeada.

    Esto no significa que el resto de capítulos no aporten nada. Al contrario, sin pretender ser un 'curso de Django', alguien que quiera empezar con esta tecnología puede hacerlo sin demasiados problemas. Harry explica bien los conceptos principales y allí donde es necesario da enlaces para poder profundizar más. Todo esto acompañado con las prácticas de TDD, que es de lo que finalmente trata el libro.

    Total, creo que si tuviese que quedarme con sólo un libro de Django, sería con este (seguido muy, pero que muy, de cerca por 'Two Scoops of Django').
  • Mikael
    5.0 out of 5 stars Un must
    Reviewed in France on September 6, 2015
    Ce livre est absolument excellent pour découvrir et comprendre en profondeur la démarche TDD. Très fidèle à l'esprit O'Reilly, le livre présente des discussions de fonds sur la discipline de test, tout en proposant une approche extrêmement pratique et détaillée.