menu
{ "item_title" : "Test-Driven Development with Python", "item_author" : [" Harry Percival "], "item_description" : "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 confidenceWrite unit tests for core logic and functional tests for browser-based interactionsUse mock objects to isolate external systems and simplify integrationPackage your application using DockerAutomate deployments and test your code in a staging environmentValidate third-party plug-ins and dependencies within your test suiteSet up continuous integration to run your tests automaticallyEnrich your frontend with test-driven JavaScript", "item_img_path" : "https://covers2.booksamillion.com/covers/bam/1/09/814/871/1098148711_b.jpg", "price_data" : { "retail_price" : "79.99", "online_price" : "79.99", "our_price" : "79.99", "club_price" : "79.99", "savings_pct" : "0", "savings_amt" : "0.00", "club_savings_pct" : "0", "club_savings_amt" : "0.00", "discount_pct" : "10", "store_price" : "" } }
Test-Driven Development with Python|Harry Percival

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

local_shippingShip to Me
In Stock.
FREE Shipping for Club Members help

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

Details

  • ISBN-13: 9781098148713
  • ISBN-10: 1098148711
  • Publisher: O'Reilly Media
  • Publish Date: December 2025
  • Dimensions: 9.19 x 7 x 1.42 inches
  • Shipping Weight: 2.46 pounds
  • Page Count: 710

Related Categories

You May Also Like...

    1

BAM Customer Reviews