Andrés González wrote:
The idea is GREAT. I'm just working in unit testing some web
applications and scratching my head trying to do it "the right way", i
mean, mess with the database and leave it as it was before running the
tests (now i'm doing the lazy-option: at the end of each test i delete
everything and restore some "initial" info).

Why don't you execute your test within a transaction that you rollback? You start the transaction in setUp() then rollback in tearDown().

Eddy

_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to