Closed ChristophvdF closed 9 years ago
Has nobody any idea why this isn't working in my case???
After nobody was answering my question I posted it on Stackoverflow where it finally got solved. See http://stackoverflow.com/questions/29432801/databasesetup-unable-to-load-data-set/29486391#29486391 for the solution. I must say really great support from the developers here, 6 days NOTHING... 3 days on Stackoverflow and I got an answer. thumbsdown
Hi,
i configured my test environment via java config. At my test I need some data upfront to run it, but when i run the test with the @DatabaseSetup annotation i always get the error "Unable to load dataset from "personTestData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader"
the file is located at src/test/resources/personTestData.xml. Out of curiosity i moved the file into the same package where the test itself is located, still the same error. I have spent countless hours searching the web for the error, no solution till now. So i hope that maybe you could help me, due to the error message isn't that meaningful.
bg Christoph