Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for August 2006

Advogato blog for jdahlin

Advogato blog for jdahlin

16 Aug 2006 - August 16, 2006

Testing a dynamic language A colleague recently complained to me that I'm forcing him to write a unittest without a good reason. He had written a small method which he told me that there's almost no way of breaking, it's so trivial that it doesn't need a test. The code in question was written in Python and looked like this: from some.module import Settings class Object(Base): def is_fluff(self): return self.state == Settings.STATE_FLUFF In his change he added the...
http://www.advogato.org/person/jdahlin/diary.html?start=17
Available Archives
- March (2 items)
- May (1 item)
- June (1 item)
- August (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact