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 @brianm: Was reminded of this today. twitter.com/brianm/status/… 2 weeks ago
- This looks fantastic - awesome work by @RReedKC and the @SafetyCultureHQ team in Kansas City twitter.com/SafetyCultureH… 1 month ago
- Like ejector seats, but for parents bed when all the kids climb in during the night and fence you in. Not picky abo… twitter.com/i/web/status/1… 1 month ago