[xmlWiki-developers] About Spikes
Brought to you by:
elhugo
From: Hugo G. <xm...@ne...> - 2001-11-05 23:39:29
|
rad...@zs... wrote > > >Do we need to run unit test on spike architectures? They may change veryfast. > >Thank you. > >Radu > > Spike are essentially pieces of code that are done just to figure how to solve a problem or part of a problem programatically, the technology and/or the process of implementing the technology AND to figure out how much time it takes us to do it. Once we answer our question then they are thrown away or stored for personal reference. They are not meant to be used for production although the knowledge gained from them is. I vary my approach to a spike depending on the scope of the spike and on the intent of the spike. I do not want to impart my bad habits upon you but we should always strive in following TDP. Use your judgement. Ask yourself : (Scope) Is it a method of some class I am figuring out? Is it a class of an API? Is it an API that I do not understand? Is it a problem of expressing in code something written in English? (Intent) "How does this work?" and/or "How do I test this?". -H |