Skip to product information
1 of 1

Test-Driven Development with Python

Test-Driven Development with Python

Obey the Testing Goat: Using Django, Selenium, and JavaScript

Paperback

Regular price £61.31
Regular price Sale price £61.31

Join our rewards scheme and earn 183 reward points on this purchase!

Earn 183 points on this!

Sign in or Sign up!
View full details
  • Release Date: 11/11/2025
  • Barcode: 9781098148713
  • Genre: Computing & The Internet
  • Sub-Genre: Programming
  • Imprint: O'Reilly Media
  • Publisher: O'Reilly Media
Test-Driven Development with Python

Test-Driven Development with Python

Standard Edition

Collapsible content

DESCRIPTION

Obey the Testing Goat: Using Django, Selenium, and JavaScript
This trusted guide demonstrates the practical advantages of test-driven development (TDD) with Python and describes how to develop a real web application. 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.

The third edition of this trusted guide demonstrates the practical advantages of test-driven development (TDD) with Python and describes how to develop a real web application. 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, author Harry Percival teaches software and web developers the basics of Django, Selenium, Git, JavaScript, and Mock libraries, along with current web development techniques. This book-updated for Python 3.14 and Django 4-clearly demonstrates how TDD encourages simple designs and inspires confidence.

Fully updated, this third edition addresses:

  • The TDD workflow, including the unit test/code cycle and refactoring
  • Unit tests for classes and functions and functional tests for user interactions within the browser
  • Mock objects and the pros and cons of isolated versus integrated tests
  • Testing and automation of deployments with a staging server
  • Tests applied to the third-party plug-ins you integrate into your site
  • Automatic tests using a continuous integration environment
  • Using TDD to build a REST API with a JavaScript frontend interface


DELIVERY & RETURNS

UK Delivery:

  • Free delivery on all orders of £10 or more.
  • £1.49 delivery fee on orders below £10.
  • UK orders are shipped via Royal Mail 2nd Class.

International Delivery:

  • Flat rate delivery charges vary by country.

Dispatch and Delivery Times:

  • All orders are shipped from our warehouse in Northampton, UK within 48 hours of receipt during working hours.
  • UK mainland orders typically arrive within 3-5 working days via Royal Mail 2nd Class.
  • International estimated delivery times:
  • Europe & Channel Islands: 7 to 10 working days
  • USA: 7 to 15 working days
  • Rest of the World: 9 to 21 working days

View our full delivery infomation here.

  • OVER

    2 MILLION PRODUCTS

  • 60 MILLION CUSTOMERS

    ACROSS 190 COUNTRIES