4 Replies Latest reply on Oct 19, 2010 12:31 AM by dan.j.allen

    What XML file is parameter "datasourceJndiName" defined in for DBUnit?

    derekmd

      DBUnitSeamTest throws java.lang.RuntimeException: Please set datasourceJndiName TestNG property


      http://docs.jboss.org/seam/2.0.0.GA/reference/en/html/testing.html indicates to add line:


      <parameter name="datasourceJndiName" value="java:/[name here]"/>
      



      ... but what .xml file? I've tried adding the tag within the dataset of my mock data's populate file but the error continues being thrown.