I’ve been playing with DBUnit recently, and it is pretty much everything I was looking for.
I’m surprised I hadn’t heard about this earlier among all the other *Units. dIon gave a neat little demo of it at SJUG last month, including the always important availability of a Maven plugin that he wrote.
Goodbye 2000 line test database setup code! 🙂 Now I just navigate the site generating test data in real time on a clean database, and then run maven dbunit to generate the XML. To update, put it back in the original state with dbunit:import-dataset then repeat, or just edit the XML by hand. Very nice.
- RT @DataWorksSummit: Hear from @brettporter of @TheASF discuss The Apache Way and its underlying principles at #DWS17 https://t.co/mfgx4aaG… 6 days ago
- RT @lukeanear: Pat Farmer, the only person to run from the North Pole to the South Pole too some of the SafetyCulture team for a run this m… 1 week ago
- RT @lukeanear: Some if the SafetyCulture team visited the Alma array in Chile yesterday. We all had oxygen bottles as we were at 5,000 metr… 1 week ago