5 Replies Latest reply on May 6, 2014 6:57 AM by bmajsak

    Arquillian DBUnit load from xml file

    osnetwork

      Hello everyone,

       

      I'm trying to setup arquillian to load a dataset for my test cases. These are the steps that I have done so far:

      - I have created the XML dataset file with DBUnit

      - I have annotated my test class with @PersistenceTest

      - @UsingDataSet("dataset.xml")

       

      The fact is that nothing happens and it seems that UsingDataSet is ignored so when I access my DAO, they return empty or null values since the dataset is not loaded.

       

      Am I missing something to have my dataset loaded with DBUnit?

       

      Thanks in advance,

      LM