This is my book about Test-Driven-Development for web programming,
published by the excellent O'Reilly Media.
There are 2 ways you can read the book:
Obviously this is my favourite option! O'Reilly are great,
they have DRM-free versions you can download in all sorts
of formats (MOBI/epub/pdf), and you'll get updates
automatically every few weeks.
I see this as a "try-before-you-buy" scheme, and I hope
that if you enjoy it you'll buy a copy -- if not for
yourself, then perhaps for a friend!
And do get in touch with comments, suggestions, corrections etc!
Progress on the second edition is pretty good! I've got a first cut of some appendices on REST APIs, I've upgraded to Django 1.10, I'm recommending a virtulaenv all the way through, and I've improved the massive Chapter 6 rewrite slog by separating out FTs into one for regression and one for new stuff.
Tue 06 December 2016
I'm currently working on a 2nd edition for the book. Here's an outline of what I'm planning.
Sun 25 September 2016
Coming to EuroPython this year? Will you be there on the Sunday beforehand? Come help coach some beginners!
Sun 10 July 2016
Following the success of the "beginners' day" at EuroPython 2015, I'm running a "Python Bootcamp" for beginners at Pycon US this year, and I need your help!
Since Persona is being retired later this year, I'm planning a new edition. What changes and improvements would you like to see?
Mon 18 April 2016
I'm running some new workshops loosely based on some of the later chapters in the book, aimed at discussing some intermediate TDD issues: the outside-in approach, and the pros and cons of mocks and test isolation.
Thu 31 March 2016
An ill-advised experiment in process management ends up with interesting comparisons of different Python async frameworks, and some tests that work for all of them.
Sun 27 December 2015
How we replaced a bunch of ugly, mocky tests for our redis integration with redislite, and made them much better.
Tue 01 December 2015
Another OT post, this one a short playlist of three autumnal songs.
Fri 30 October 2015
Totally off-topic, but my brief notes on getting HiDPI working with Ubuntu
Sun 14 December 2014
Page 1 / 4
The book is available both for free and for money.
It's all about TDD and Web programming.
Read it here!
"Hands down the best teaching book I've ever read" —
"Even the first 4 chapters were worth the money" —
"Oh my gosh! This book is outstanding" —
"The testing goat is my new friend" —
This is my
old TDD tutorial,
which follows along with the official Django tutorial, but with full TDD. It
badly needs updating. Read the book instead!
The campaign page, preserved for history, which led to the glorious presence
of the Testing Goat on the front of the book.