One major benefit of unit testing is that you can test your Model before having a functional GUI in place. This lets you isolate problems in the Model to the Model rather than tracing them through the View and Controller as well.
I really see the benefits of CFCUnit and unit testing in general in the maintenance phase of an application. As I am making changes, I rerun the tests to see what I broke. It saves a lot of time that would otherwise be spent stepping through the GUI. Thus, all other things being equal, the more maintenance you plan to do on an app (e.g. significantly adding features or generally making changes), the more you will see the benefit of tools like CFCUnit. As a word of caution, I've found it can take a lot of thought to successfully design unit tests, especially when the relationships between your CFC's are complex and there are database interactions involved. I often hear unit testing brought up as "something you should do" but no mention that it can be quite challenging to do well. Jon On 7/20/06, Aaron Rouse <[EMAIL PROTECTED]> wrote: > I think it can be really dependent on how your CFCs are coded and used > as to what the pros and cons are. I have used CFCUnit on some > projects that the huge pro was that it saved an enormous amount of > time then on other projects it would have taken more time to use it > over just putting the CFCs to some "manual" testing. > > On 7/20/06, Asim Manzur <[EMAIL PROTECTED]> wrote: > > I am actually working to prepare the presentation for my organization and > > mention what are the cons and pros using CFCUnit vs doing the manual unit > > testing. > > > > google didn't give me any good article/summary result. > > > > Can someone help me about this. > > > > -- > > Regards, > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247253 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

