1 Reply Latest reply on Oct 6, 2013 12:54 AM by aslak

    Which is the recommended alternative to Persistence Extension when running local acceptance tests against a prepackaged EAR?

    alfonso.mateos

      Hello everybody,

       

      It seems that Arquillian Persistence Extension is only working for in-container tests. Which is the best alternative to persistence extension when using local tests (i.e. from outside of the container) that lets me get a functionality equivalent to @CreateSchema and @UsingDataSet, etc.?

      My intention is to use this data loading in an acceptance test. Ideally:

      - Deploying the entire EAR. I already know how to do this.

      - Testing it from outside of the container, by using the resteasy framework.

       

      Thanks in advance.