On 26/04/2012 16:14, Augusto Rodriguez Caceres wrote:

I would like to share that I'm not a fan of DBunit, as the XML files are not exactly very refactory-friendly (this might have changed in the last few of years).

In previous projects, I've found that every time I changed a column, I would need to go back to the xml files and do a lot of very boring, repetitive work to update them.


never touched an xml file...
Just set the db up as I want it, then run a class to dump the data out:

http://www.dbunit.org/faq.html#extract

Very handy for regression testing when you find an issue with a dataset.

Rob

Reply via email to