DeepRead
Cover of Test-Driven Development with Python

Test-Driven Development with Python

Harry J.W. Percival · 2014

Programming and computer science › Python

#2,458 most recommended

About the book

A hands-on guide to building a Python web application with Django while writing tests at every stage, covering functional tests driven by Selenium and unit tests for models, views, forms, and JavaScript. It also walks through deploying the app to a live server and running the test suite there. Test-driven development is presented as a workflow rather than an add-on: write a failing functional test that describes the user's behaviour, then write just enough unit-tested code to pass it, and refactor under the tests' protection. The author argues that tests should drive design decisions, that mocks and external dependencies need careful isolation, and that the same tests should run against a staging server to catch deployment problems.

Written by Claude from what it knows of this book.

What Hacker News says 89% recommend · 0% critical

02420132015202020232015 peak · 3
This bookAverage book in Python

In the commenters’ own words

What Open Library readers say 5.00 from 1 rating

  1. 51
  2. 40
  3. 30
  4. 20
  5. 10
  • 10 want to read
  • 0 reading
  • 3 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2014
ISBN
9781449364823
Editions known
6 at Open Library
Open Library
OL17929690W

Application softwareApplication software, developmentCOMPUTERSDevelopmentObject-oriented programming (Computer science)Object-oriented programming (computer science)Programming LanguagesPythonPython (Computer program language)Python (computer program language)TestingWeb site development

Explore in the mosaic

Read next: its neighbours on the mosaic