On 5/11/07, Jaime Metcher <[EMAIL PROTECTED]> wrote:
> 3. Use cfunit's AssertOutputs function (or steal or write your own for
> cfcunit) to run the form processing module, capture its output and run a set
> of assertions agains the output.

With cfcUnit, you can either use cfhttp to run the page or
<cfsavecontent> around a <cfinclude> of the page and then use
assertContainsString(), assertRegexMatch() and assertNotRegexMatch()
to verify that the output has the appropriate text (and doesn't have
other things).
-- 
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:277900
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to