Test-Driven Development with Python

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

(Author) Harry Percival
Format: Paperback
£63.99 Price: £60.79 (5% off)
In Stock
Generally dispatched in 1 to 2 days

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.11 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

Information
Publisher:
O'Reilly Media
Format:
Paperback
Number of pages:
None
Language:
en
ISBN:
9781098148713
Publish year:
2025
Publish date:
Nov. 11, 2025

Harry Percival

Reviews

Leave a review

Please login to leave a review.

Be the first to review this product

Other related

Love Machines

Love Machines

How Artificial Intelligence is Transforming Our Relationships

James Muldoon
Paperback
Published: 2026
Nexus

Nexus

A Brief History of Information Networks from the Stone Age to AI

Yuval Noah Harari
Paperback
Published: 2025
The Immortalists

The Immortalists

The Death of Death and the Race for Eternal Life

Aleks Krotoski, Krotoski, Aleks
Hardcover
Published: 2025
If Anyone Builds It, Everyone Dies

If Anyone Builds It, Everyone Dies

The Case Against Superintelligent AI

Eliezer Yudkowsky
Hardcover
Published: 2025
Automate the Boring Stuff with Python, 3rd Edition

Automate the Boring Stuff with Python, 3rd Edition

Al Sweigart
Paperback
Published: 2025
Warhammer Video Game Art

Warhammer Video Game Art

Andy Hall, DK
Hardcover
Published: 2025