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 - Paperback

$86.38
Sale price  $86.38 Regular price 
Skip to product information
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 - Paperback

by Harry Percival
$86.38
Sale price  $86.38 Regular price 

Book Overview

The third edition of this trusted guide shows you how to apply test-driven development (TDD) to building real-world web applications with Python. By writing tests before building each part of your app--and then creating just enough code to pass them--you'll learn how TDD leads to clean, reliable, and maintainable software.

Author Harry J.W. Percival takes you through a practical, end-to-end example of web development using Python 3.14 and Django 5. Along the way, you'll explore tools like Selenium, JavaScript, Git, and mocking, and discover how TDD supports better design decisions, encourages continuous improvement, and instills confidence in your codebase. Whether you're a professional developer or just transitioning into web development, this book offers hands-on experience with modern testing workflows and architecture.

  • Follow the full TDD workflow, from writing tests first to refactoring with confidence
  • Write unit tests for core logic and functional tests for browser-based interactions
  • Use mock objects to isolate external systems and simplify integration
  • Package your application using Docker
  • Automate deployments and test your code in a staging environment
  • Validate third-party plug-ins and dependencies within your test suite
  • Set up continuous integration to run your tests automatically
  • Enrich your frontend with test-driven JavaScript
ISBN9781098148713
Author Harry Percival
PublisherO'Reilly Media
GenreTechnology
FormatPaperback
PublishedDecember 2025
Edition3
LanguageENG- English
Pages710
Weight1.0 lb
Target AudienceAdults
Print SizeStandard Print

1% fer Each of the Seven Seas

Every purchase sends 7% of our profits to The Ocean Cleanup. No fine print, no opt-in — just how we sail.

Whoever Ye Be, Welcome Aboard

Queer lit, music, art, philosophy, fiction — stories for every kind of soul. Come as ye are, matey.

About Harry Percival

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 Percival 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 worked at PythonAnywhere LLP, spreading the gospel of TDD world-wide at talks, workshops and conferences. He is now with MADE.COM.Bob Gregory is a UK-based software architect with MADE.COM. He has been building event driven systems with domain-driven design for more than a decade.

You may also like