You can open a transaction and just rollback at the end.
On Thu, Oct 22, 2009 at 8:58 PM, Henning Glatter-Gotz
henn...@glatter-gotz.com wrote:
Hi,
I have a class I would like to unit/functional test that uses several
propel model classes that are used to write to the db (in this scenario
this?
Thanks
Henning
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On
Behalf Of Thomas Rabaix
Sent: Thursday, October 22, 2009 3:05 PM
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: Unit testing with fake model classes
You can open a transaction
Henning
From: symfony-users@googlegroups.com
[mailto:symfony-us...@googlegroups.com] On Behalf Of Thomas Rabaix
Sent: Thursday, October 22, 2009 3:05 PM
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: Unit testing with fake model classes
You can open a transaction
Sent: Thursday, October 22, 2009 3:49 PM
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: Unit testing with fake model classes
Take a look at the lime plugin - which extends lime - it appears to
support auto-creation of mock objects.
http://webmozarts.com/2009/06/30/easy-unit