Test-Driven Development while Creating a TODO List

No programmer ever releases a software without having tested it – even for the most basic proof of concept and rough hack, the developer will run it once to see that it at least starts and resembles what they had in mind.

But to test, as a verb, usually ends up meaning clicking buttons here and there to get a vague sense of confidence that the software does what we intended. This is different from test as a noun, which means a set of written-out checks that our software must pass to confirm it does what we wanted.

Apart from being more reliable, written-out checks force us to think about what the code must do. They force us to get into the details and think beforehand about what we want to ...

Get Crafting Test-Driven Software with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.