1 Reply Latest reply on Jan 18, 2011 1:15 PM by ssilvert

    Rolling back transactions

    hmashruf

      Hi there,

       

      My goal is to perform integration testing of my application using JsfUnit, which is setup to run the test cases. I will have test cases where the database operations would be performed as a part of the build. I am wondering how to setup these tests so those database operations could be rolled back after the tests are run with results. I would greatly appreciate for letting me know how to achieve the same.

       

      I am using sun Jsf, Spring, iBatis.

       

      Thank you.

        • 1. Rolling back transactions
          ssilvert

          This is really a general unit testing question rather than something unique to JSFUnit.  You might get better answers on a different forum.

           

          I know that some use a mock database or an in-memory database or something like that. 

           

          Stan