@hackage tmp-postgres0.1.0.2

Start and stop a temporary postgres for testing

Travis CI Status

tmp-postgres

tmp-postgres is a libary for greating a temporary postgres instance on a random port for testing.

result <- start []
case result of
  Left err -> print err
  Right tempDB -> do
     -- Do stuff
     stop tempDB