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

Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and JavaScript
By Harry J. W. Percival

List Price: $59.99
Price: $48.60 Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

38 new or used available from $43.91

Average customer review:
(5 customer reviews)

Product Description

By taking you through the development of a real web application from beginning to end, the second edition of 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—updated for Python 3.6—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
  • Run tests automatically by using a Continuous Integration environment
  • Use TDD to build a REST API with a front-end Ajax interface

Product Details

  • Amazon Sales Rank: #39333 in Books
  • Published on: 2017-08-31
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.00" h x 1.25" w x 7.00" l, .0 pounds
  • Binding: Paperback
  • 614 pages

Editorial Reviews

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.

Customer Reviews

Most helpful customer reviews

0 of 0 people found the following review helpful.
5fantastic book, obey the testing goat!
By BLAGA Razvan
Fantastic book for all the python developers starting with test driven web development.
You'll learn how to do TDD the right way, Django and have enough tools for automated project deployment.

It will change your way of building future projects: Obey The Testing Goat!

1 of 1 people found the following review helpful.
5Incredible book on Python Test-Driven Development (TDD)
By James L. Key
I worked with both a pre-release version of this book and with the final version of the 2nd edition. Harry's method of introducing TDD is fantastic. It's a wonderful hands on approach that leads you through the pitfalls and successes. He shows you how to write a test, how to make the program match your expectations, and how to revise the test to add more functionality. This is a must read for anyone who want's to be a better Python programmer!

1 of 1 people found the following review helpful.
5Great book that teaches you so much more than just Python and TDD.
By Michael Blake
This is a great book. It is well structured with clear instructions and examples to get you get from nothing to a functioning web application. It gives you a good understanding of python, django, debugging, test-driven development, git version control, automatic deployments, client and server side validation and more.

See all 5 customer reviews...

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.

Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.

  Contact Us