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 @TheASF: The Apache Software Foundation Receives Bitcoin Donation from Pineapple Fund Valued at $1M s.apache.org/udGT #Apache #wor… 2 days ago
- RT @jessfraz: As much as you think open source is all about the code, it’s really about the people. 4 days ago
- RT @BallStreet: Nothing to see here. Just three Japanese internationals vs. 100 school children lining up in a 30-30-30-10 formation. https… 1 week ago