From 8c738ffcd5ba7ad6c38303857cd351d01d4bba5f Mon Sep 17 00:00:00 2001 From: Raveline Date: Wed, 9 Jan 2019 10:43:30 +0100 Subject: Add minimal README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 56f44b9..e254c58 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ # squeal-hspec + +Helpers for creating database tests with hspec and squeal, inspired by Jonathan Fischoff's +[hspec-pg-transact](http://hackage.haskell.org/package/hspec-pg-transact). + +This uses @tmp-postgres@ to automatically and connect to a temporary instance of postgres on a random port. + +Current version is done to operate with Squeal 0.4.0.0. + +`describeDB` lets you initate a series of `itDB` specs which will operate in the same context. +It takes migrations to run and a series of fixtures to fill the database. -- cgit v1.2.3