diff options
author | Raveline <eraveline@gmail.com> | 2019-01-09 10:43:30 +0100 |
---|---|---|
committer | Raveline <eraveline@gmail.com> | 2019-01-09 10:43:30 +0100 |
commit | 8c738ffcd5ba7ad6c38303857cd351d01d4bba5f (patch) | |
tree | b90e40ba3e5d38efa10f9976a40c28b1e3781a20 /README.md | |
parent | aa94c1a54bc9cb9be66f734f6d116f3340aba551 (diff) | |
download | squeal-hspec-8c738ffcd5ba7ad6c38303857cd351d01d4bba5f.tar.gz squeal-hspec-8c738ffcd5ba7ad6c38303857cd351d01d4bba5f.tar.zst squeal-hspec-8c738ffcd5ba7ad6c38303857cd351d01d4bba5f.zip |
Add minimal README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1 +1,11 @@ | |||
1 | # squeal-hspec | 1 | # squeal-hspec |
2 | |||
3 | Helpers 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 | |||
6 | This uses @tmp-postgres@ to automatically and connect to a temporary instance of postgres on a random port. | ||
7 | |||
8 | Current 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. | ||
11 | It takes migrations to run and a series of fixtures to fill the database. | ||