June 2014
Intermediate to advanced
480 pages
10h 37m
English
Now that we’ve seen the basics of TDD in action, it’s time to pause and talk about why we’re doing it.
I’m imagining several of you, dear readers, have been holding back some seething frustration—perhaps some of you have done a bit of unit testing before, and perhaps some of you are just in a hurry. You’ve been biting back questions like:
django.core.urlresolvers in your
unit tests? Isn’t that testing Django, i.e., testing third-party code? I
thought that was a no-no?
home_page = None!? Really?
Ah, young grasshopper. I too was once full of questions like these. But only because they’re perfectly good questions. In fact, I still ask myself questions like these, all the time. Does all this stuff really have value? Is this a bit of a cargo cult?
Ultimately, programming is hard. Often, we are smart, so we ...
Read now
Unlock full access