From: "Adam Heath" <[email protected]>
Scott Gray wrote:
I haven't worked on it for a few weeks but I do have some code that
can track changes on the GenericDelegator and then reverse them when
requested. At the moment it makes the test independent at the
component level, mostly because the was the easiest place to do it.
I've tested it by exporting the data from a fresh install, running
the tests, exporting again and comparing the differences and at the
moment the only data that gets left behind is anything coming from
async service calls.
My code doesn't require anything fancy. It just makes a backup copy
of the entire data folder, and restores it between test runs. It was
easy to do this, then try to have some filter that rolls back a
complex series of changes.
Yes, this makes sense indeed (even better with a than than a then ;o)
Jacques