Unit testing is always a great idea, but I don't see how that can test thread safety. For example, how would a unit test flag down a situation where you missed var scoping a variable since these problems really only come out under load? Is load testing really the only way to be sure?
Maybe Sean has some pointers? > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Wayne Graham > Sent: Wednesday, September 22, 2004 10:10 AM > To: [EMAIL PROTECTED] > Subject: Re: [CFCDev] Testing Thread Safety > > Try some unit testing...there are a couple of good ports of xUnit to > ColdFusion: > > http://www.cfcunit.org/ > http://sourceforge.net/projects/cftestingkit/ > > I like to find bugs and use xUnit tests to make sure they don't resurface > later in the project. > > ----- Original Message ----- > From: "Kevin J. Miller" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 22, 2004 12:55 AM > Subject: [CFCDev] Testing Thread Safety > > > > Hello, > > > > Does anyone know of or have a way of testing thread safety in > > cfcs/functions? I am reworking an application and my cfc's are > > architecturally very different from what I've done before (existing > fully > > within the app scope, a different approach to passing data between > cfc's, > > and some other things that bring the thread safety issue to a critical > > importance). Was wondering if there was some approach other than simply > > reviewing the code or waiting until errors arise that would help test > the > > thread safety of the various functions. > > > > TIA > > Kevin > > > > > > ---------------------------------------------------------- > > You are subscribed to cfcdev. To unsubscribe, send an email > > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > > in the message of the email. > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported > > by Mindtool, Corporation (www.mindtool.com). > > > > An archive of the CFCDev list is available at > www.mail-archive.com/[EMAIL PROTECTED] > > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at www.mail- > archive.com/[EMAIL PROTECTED] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
