Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.

On May 1, 2020, we will be freezing and users will not be able to create new discussions. If you have any questions and concerns, please email us at

Technical Issue Help : Obtaining file in DBTestCase?

I have tried "dataset.xml" and "classpath:dataset.xml" I have: protected IDataSet getDataSet() throws Exception { return new FlatXmlDataSetBuilder().build(new ... [More] FileInputStream("classpath:dataset.xml")); } public void testNothing() { System.out.println("Tada!"); } I get: Test set: edu.berkeley.ouae.batch.DBSampleTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.027 sec <<< FAILURE! testNothing(edu.berkeley.ouae.batch.DBSampleTest) Time elapsed: 0.022 sec <<< ERROR! classpath:dataset.xml (The system cannot find the file specified) I'm using: org.dbunit dbunit 2.4.8 Thanks! Regards, Rich Katz [Less]

almost 9 years ago