Sean, I certainly hope you include the testing tools in coldfusion as well when you say they are hard to use. I agree that there is a lot of code that is written to put together automated tests, but the long-term benefit tends to be worth it if the tests are maintained along with the code they verify.
Yes, it should be easier, but how? On 10/19/05, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > So I'm pretty new to the concept of 'unit testing', but I ALWAYS do > extensive testing of my apps. I was under the impression that unit > testing was always done with a product or tool, and that is what the > author is saying stinks. Am I way off base? > > Say for example that I write a spider that crawls my site and nails > every user input point with specific and/or random data. I can either > look at the database/logs, or write an error handler in my tester to > tell me when it finds problems. Is this unit testing? > > > -----Original Message----- > > From: Sean Corfield [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 19, 2005 1:19 PM > > To: CF-Talk > > Subject: Re: OT: Unit testing sucks? > > > > On 10/19/05, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > > This guy thinks unit testing is way overrated and a waste of time: > > > > Well, that's not really what he's saying... his real objection is that > > unit testing *tools* suck and that developers just don't know how to > > write automated tests. And I agree with him. He says (repeatedly) > > testing is very important and you must test, test, test. > > > > Unit tests are very valuable *if* they are set up correctly but most > > test harnesses are a pain in the @$$ to use and in order to write test > > cases you often end up writing even more code than your original code > > base which, of course, does seem pretty dumb... > > -- > > This transmission may contain information that is privileged, confidential > and/or exempt from disclosure under applicable law. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution, or use of the information contained herein (including any > reliance thereon) is STRICTLY PROHIBITED. If you received this transmission > in error, please immediately contact the sender and destroy the material in > its entirety, whether in electronic or hard copy format. Thank you. A1. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221542 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54