On 5/11/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > I really wish there was more tips on CFCUnit and how to write tests,
I keep poking Paul about it but now that I'm no longer his manager I don't have quite as much sway :) > Sean, so going bug to my bug that I ticketed. Could you look at the > testcase, and help me with that function that outputs code instead of > returning it.. Would that be a case of using CFHTTP? <cfsavecontent variable="initOutput"> <cfoutput>#CFJsonService.Init(Filename)#</cfoutput> </cfsavecontent> <cfset assertEqualsString(testString,trim(initOutput)) /> -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277909 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

