Linux Today: Linux News On Internet Time.

The Importance of Being Tested

Dec 23, 2010, 11:04 (1 Talkback[s])

"In addition to the regular posts documenting features of 0.6 and giving hints and tips about it's usage, release announcements and so-forth; I'll also be posting insights and anecdotes about Upstart's ongoing development. A particular story cropped up again this month, and I thought I'd share it with you.

"When I began work on Upstart, one of the earliest decisions I made was to make sure the code was very-well covered by a comprehensive test suite. I'd been working with Robert Collins a lot in the previous couple of years and he is very much an advocate of practices such as Extreme Programming (XP) and Agile Development; especially the discipline of Test Driven Development.

"I'd also recently seen a keynote by Andrew Tridgell in which he talked about some of the development of Samba 4, in particular the high use of both test cases and code generation in that code-base. Something he said in the keynote stuck with me: "untested code is broken code"."

Complete Story

Related Stories: