How can I run java unit tests that depend on postgresql in a continous integration enivironment?
===

My unit tests need to connect to a postgresql database.  To execute these in a CI environment, i.e. on Jenkins, the current set up includes the requirement that a postgresql db be available.  I was hoping there was a better solution . . . like an in memory version of the postgresql db that can be spun up just in Java? That seems unlikely since it's not a Java app though.  So, is there a solution that doesn't require pre-existing installation of the postgresql instance?