Hi Sam, Thanks for the advice! I'll definitely check it out. I found the CFUnit docs page this a.m. Lots to learn and try... Tips regarding starting small are just what I need to get started and not give up.
Paul On 10/30/07, Sam Larbi <[EMAIL PROTECTED]> wrote: > > CFUnit was the first one I found for CF, so that's just what I've always > used. The key is to write small, useful tests, and then write a tiny bit of > code to make it pass. The more code you write at any one time before > running tests, the more likely you'll fall into the "spend forever > debugging" phase. Of course, that is true of non-automatic-tested code as > well. > > I'd also recommend joining the TDD yahoo group, as they may be able to > help you with questions you might have, and just reading the list you'll get > a lot of knowledge from the folks there. Mostly they are a nice group, but > you'll have to beware of some of the few religious bigots. > http://tech.groups.yahoo.com/group/testdrivendevelopment/ > > > Sam > > On 10/30/07, Paul Marcotte <[EMAIL PROTECTED]> wrote: > > > Thanks, Jamie. > > > > Cheers, > > > > Paul > > > > On 10/29/07, Jaime Metcher < [EMAIL PROTECTED] > wrote: > > > > > > > > > Paul, > > > > > > 1. Read Kent Beck's "Test Driven Development By Example". > > > > > > 2. If using CFCUnit, see if you can get hold of version 1.2 - the ant > > > integration is worth having > > > > > > 3. Also check out selenium. > > > > > > 4. Strictly speaking, the moment you've got a database in the picture > > > you're > > > not unit testing anymore, you're integration testing. But don't let > > > the > > > name fool you - CFCUnit is great for integration testing. > > > > > > Wish I had time for more - good luck! > > > > > > Jaime Metcher > > > > > > > -----Original Message----- > > > > From: [email protected] [mailto: [EMAIL PROTECTED] > > > Behalf > > > > Of Paul Marcotte > > > > Sent: Tuesday, 30 October 2007 9:07 AM > > > > To: CFCDev > > > > Subject: [CFCDEV] Unit Testing - Where to start? > > > > > > > > > > > > > > > > Hey All, > > > > > > > > I'm committed to start unit testing as I've come to the acceptance > > > > that requirements are always going to change for pretty much any gig > > > > > > > I'm on (some more than others!). With that in mind, I'd prefer to > > > > spend my time up front on unit testing, rather than bug fixing. > > > > Besides, I figure I'll get a real Zen feeling from it. "Fortune > > > > favours the prepared" as the saying goes... ;) > > > > > > > > With CFCUnit (http://cfunit.sourceforge.net/ ), CFCUnit (http:// > > > > www.cfcunit.org/cfcunit/) and RocketUnit (http:// > > > > rocketunit.riaforge.org/) available, I'm looking for some feedback > > > > from the enlightened. > > > > > > > > Thoughts, recommendations, or pointers to tutorials would be greatly > > > > > > > appreciated! > > > > > > > > Thanks, > > > > > > > > Paul > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Paul Marcotte > > Fancy Bread - in the heart or in the head? > > http://www.fancybread.com > > > > > > > > -- Paul Marcotte Fancy Bread - in the heart or in the head? http://www.fancybread.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
