Hi, We are using JPA for our Dao's to interact with the datastore. I was wondering is there is a way to load seed data for unit testing. I can insert the entities using JPA in the setup() method here
private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); @Before public void setUp() { helper.setUp(); } but I was wondering if the LocalServiceTestHelper / anyother has a convenience method for loading the seed data from an XML file. The data would be present like this <?xml version='1.0' encoding='UTF-8'?> <dataset> <USER_ROLE ROLE="ROLE_ADMIN" NAME="Administrator"/> <USER_ROLE ROLE="ROLE_CONSULTANT" NAME="Consultant"/> <USER_ROLE ROLE="ROLE_PROJECTMANAGER" NAME="Project Manager"/> <USER_ROLE ROLE="ROLE_REPORT" NAME="Reporter"/> <USER_TO_USERROLE ROLE="ROLE_CONSULTANT" USER_ID="1"/> <USER_TO_USERROLE ROLE="ROLE_PROJECTMANAGER" USER_ID="1" /> </dataset> Regards | Vikas www.inphina.com thoughts.inphina.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.