I’m performing some integration test with dbunit on an in-memory HSQL database. A problem is that I don’t have an user interface(like pgAdmin) to check on the data between the tests.
Does dbunit support any mean by which I can “dump” a snapshot of the HSQL database, so that I can review it after the test complete?
You can export it to an XML file, but would you not be better using DBUnit’s database compare facility?
You simply craft up a file version of how the d/b should look, then compare the in-memory database to that version.