Hi Jeff, Recently I've added a new mock object component to CFUnit: http://rbdev.net/devblog/index.php?entry=entry061128-130441
It took me a while to figure out how mock objects might work in ColdFusion. But I have been using them consistently since I added it to the framework, and I have to say, its really made my unit test far more stable (and faster). Your right â the idea scenario would be to have unit tests that test a single unit of code as if it were in a vacuum, excluding all outside factors. And mock objects are a great way to accomplish that. Doing this not only make your unit test more stable and accurate, but it helps avoid getting the same error/failure multiple times simply because they are all dependent on the same piece of code. So, as you can tell, I am now a strong advocate of mock objects in ColdFusion. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264867 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

