1 Reply Latest reply on Mar 2, 2005 9:29 AM by Alain Penders

    Best Practice for JUnit test with EJB3

    Kevin VInsen Newbie

      I'd be interested to find out for people how they are testing their EJB3 code.

      The way I'm doing it is seems cumbersome
      1. Deploy a test version of the .ejb3 file that creates and drops the database
      2. Populate the database (MySQL) using raw JDBC - not really a big deal as I use phpMyAdmin to export the data
      3. Run my tests

      Anyone got a better way?