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 @sryimnate: pls never let this meme die https://t.co/V9B1ojg606 1 day ago
- RT @SafetyCultureHQ: HAVE YOUR SAY: Take part in the largest annual #Safety industry survey. Insights for today and the future: https://t.c… 6 days ago
- RT @TheASF: The Apache Software Foundation Announces Annual Report for FY2017 s.apache.org/IDn5 #Apache #OpenSource #Leadership #Comm… 3 weeks ago