[ 
https://issues.apache.org/jira/browse/OFBIZ-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Gray updated OFBIZ-2259:
------------------------------

    Attachment: rollback.patch

It would be great to get some feedback on this before I commit it in the next 
couple of days.

In terms of performance the rollback adds about 15-20% to the time taken to 
perform all tests which on my machine equates to about 20-30 seconds

> Testing - Rollback database changes after each test-suite using the 
> GenericDelegator
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2259
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2259
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>            Reporter: Scott Gray
>            Assignee: Scott Gray
>         Attachments: rollback.patch
>
>
> During testing have the delegator keep track of all changes made to the 
> database and then roll them back at the end of each test suite.  This will 
> allow the same demo data to be reused across test suites without having to 
> worry about what changes previous tests have made to the data and solves this 
> problem regardless of the database being used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to