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.
- Bus ad says "tired of not waking up on an island? Wake up in Vanuatu". But I wake up in Australia every day? 4 days ago
- RT @ApacheCon: Happy 18th birthday to @TheASF #ApacheCon https://t.co/Lqd6ejqS4L 1 week ago
- Looking forward to AI that enables Slack/email to ask me “what’s the outcome you’re looking for here?” before I send an ill-advised message 1 week ago