It's an interesting concept, Michael.  Generally, I'm not in favor of 
having test code hanging around as part of a production system.  But 
I am in favor of encouraging testing.  Something to consider, at 
least.

The interesting aspect of unit testing is that it seems to be an 
architect-vs.-coder subject.  From the architect's point of view, 
unit tests should be absolutely required, and the architect should be 
providing the test harnesses.  From the coder's point of view, unit 
tests are reasonable but not *really* necessary, since "my code 
always does what it's supposed to do".  ;)  So for many Fuseboxers, 
who are acting as both architect and coder, it's a confusing issue 
sometimes.  I find it works best to put on the architect hat to do 
the Fusedocs, keeping the taskmaster mindset.  Then I can switch to 
the coder hat to write the code and run the unit tests.

- Jeff

On 17 Feb 2005 at 10:53, Michael T. Tangorre wrote:

> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> 
> > www.protonarts.com--15% discounts during MXDU (today and tomorrow).
> > 
> > Back to the issue of debugging:  I'm ashamed that nobody has 
> > mentioned unit testing yet!  Bad Fuseboxers, bad!!  ;)
> > 
> > Unit testing is one of the hallmarks of Fusebox development.  
> > You first test each fuse with a test harness written 
> > according to its Fusedoc.  This helps you debug the 
> > individual fuses, and makes sure they do what you expect them 
> > to do.  THEN you can start running the integrated application 
> > and testing each fuseaction to make sure you haven't left 
> > anything out (unlikely if your Fusedocs are accurate).
> > 
> > Oh, but writing those test harnesses is a pain, you say.  
> > That's why I wrote the Harness tool--it auto-generates a test 
> > harness for each fuse, according to the Fusedoc.  Harness2 
> > works with the current XML- based Fusedoc standard.  You can 
> > download it from the Grok's Goodies section of www.GrokFusebox.com
http://www.GrokFusebox.com
"Fusebox 4 & FLiP: Master-Class ColdFusion Applications" 
Now available at ProtonArts.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6636
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to