]> git.immae.eu Git - github/fretlink/squeal-hspec.git/blame - README.md
Support fixed databases
[github/fretlink/squeal-hspec.git] / README.md
CommitLineData
aa94c1a5 1# squeal-hspec
8c738ffc
R
2
3Helpers for creating database tests with hspec and squeal, inspired by Jonathan Fischoff's
4[hspec-pg-transact](http://hackage.haskell.org/package/hspec-pg-transact).
5
6This uses @tmp-postgres@ to automatically and connect to a temporary instance of postgres on a random port.
7
8Current version is done to operate with Squeal 0.4.0.0.
9
10`describeDB` lets you initate a series of `itDB` specs which will operate in the same context.
11It takes migrations to run and a series of fixtures to fill the database.