Fast tests are useless, hot lava be damned
In which I provoke the "unit test purist" community by claiming that fast tests are useless
This is my book about Test-Driven-Development for web programming, published by the excellent O'Reilly Media.
There are a few ways you can read and support this book:
Obviously these are my favourite options! O'Reilly have been great, they deserve your support, and although I only get a small amount in royalties (about a dollar per sale if you're curious), it still pays for the occasional dinner out every month which I appreciate. Plus, real physical books are nice...
TIP: I don't recommend you use Google Play Books, or at least not their PDF version, it's horrible
Alternatively, or in the meantime, help yourself here! It's all free and CC-licenced (thanks O'Reilly!). 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! [email protected]
In which I provoke the "unit test purist" community by claiming that fast tests are useless
Links to some awesome TDD stuff from EuroPython, and also my own talk + tutorial
A quick guide to how to write tests for the tornado ioloop, since the official docs can still leave one a little baffled.
I think Django gives you everything you need for a new user registration form in about 2 lines of urls.py config... am i right?
Time to deploy the site... But how? And where does TDD fit in?
Jason wrote a review of my book, saying things like: "I find far too many programming books compartmentalize the material, each section is separate and abstract. Rather, this book's strength is in the broad use and application of these tools. By the end of this book you won't be a master with these tools but you will have used them enough to build a good foundation for starting your own projects and into the habit of test, code, refactor, commit."
Not only does my book have no DRM, it also has a 10-year limit on copyright, and will be released online under creative commons in parallel to the print release
My book is out on O'Reilly early release!
I'm thinking of adapting my TDD / Django tutorial into a full book on TDD for web apps. Here's my current proposed outline, and all the topics I'm thinking of covering, what do you think?
I've decided to try and develop this tutorial into an actual book on test-driven development for web apps. Have a look at the chapter outline I've posted as part 6:
« Page 4 / 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" — Read more...
A selection of links and videos about TDD, not necessarily all mine, eg this tutorial at PyCon 2013, how to motivate coworkers to write unit tests, thoughts on Django's test tools, London-style TDD and more.
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.