Janet,

+1 to dbunit.  You also have the option of wrapping each unit test in a
transaction and then rolling it back at the end.

Jaime Metcher

> -----Original Message-----
> From: Janet MacKay [mailto:[EMAIL PROTECTED]
> Sent: Friday, 5 October 2007 3:28 AM
> To: CF-Talk
> Subject: SOT: Rollback db changes in CFCUnit/CFUnit tests
>
>
> Does anyone know of an article(s) explaining how to work
> rollbacks into unit testing? I want to test a series of DAO's,
> but am not sure how to incorporate this into my tests.
>
> Janet
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290488
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