- add a Breakpoint to your TestCase code
- start your jUnit Test in Debug mode
- Open the Display View (
Window menu > Show view > Display
) - paste the following snippet into the
Display view
org.hsqldb.util.DatabaseManagerSwing.main(new String[] {
"--url", "jdbc:hsqldb:mem:testdb", "--noexit"
});
Reference: http://stackoverflow.com/questions/2697341/inspect-in-memory-hsqldb-while-debugging