Jump to ratings and reviews
Rate this book

Test-Driven Development with Django

Rate this book
Test-Driven Development (TDD) simplifies the trickiest of software tasks with its unique ability to peel back problems into layers. The testing tools available in Python and Django make test writing a joy, and the full coverage test suite that results from TDD is a boon to any project.

This guide to developing with Django takes a test-first write a test, then write enough production code to get it to pass. You'll quickly get hands-on experience, writing tests for a database-driven application with the TDD methodology. Use this book to build the skills and habits that make testing a regular part of your workflow.

188 pages, Kindle Edition

First published July 3, 2015

6 people are currently reading
19 people want to read

About the author

Kevin Harvey

15 books2 followers
Librarian Note: There is more than one author in the Goodreads database with this name.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
4 (33%)
4 stars
5 (41%)
3 stars
3 (25%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for Raynold Ng.
2 reviews
June 10, 2018
A pretty good book that introduces how to integrate TDD into your Django workflow.
Profile Image for Pavel Karateev.
18 reviews5 followers
December 3, 2015
Well, I planed to rate this book with 4 stars, but as a first reviewer here I'll give it 5. Why? Because it's an excellent book, and it has only one major problem - "Test Driven Development with Python" by Harry Percival exists = ) Nevertheless I really want people to read Kevin Harvey book and 4 stars at goodreads may not be a sufficient good first impression.

Pros:
- pretty short but rich content
- interesting API chapter
- build a sample TDD Django project from scratch

Cons:
- few major topics are skipped: mock and CI for example
- some topic are too briefly mentioned
- too short for my liking

In the end it's a nice second book after "Test Driven Development with Python" by Harry Percival, or first if you need to know the topic ASAP.

All hail testing Goat!
Profile Image for Samuel.
50 reviews6 followers
June 13, 2017
Very very good book, that excels not in being long or covering a lot of extra material, but instead at being very focused on its topic while being almost a page-turner in readability. It's almost fun to read!

It dives straight in on the topic, which saves you precious time that is so often spent browsing through all the initial blah-blah in other tech books.

I have only read a few tens of pages, and quick-skimmed the rest, but it already brought me up to speed in writing my very first Django tests in a legacy codebase I'm working on.

In short, it has a extremely high "usefulness per time spent" ratio, which I think is one of the most important metrics of tech books.
Profile Image for Chitrank Dixit.
37 reviews2 followers
June 23, 2016
This book cover the advantages of the test driven development using Django. So that the system can be just set to continuous integration. It is an API world and each and every API should be tested well so that when the API is calling that produces correct output and correct statuses. This book also covers that , this helped me and my team to build our backend with good test cases that deal with testing,
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.