hspec-snap

A library for testing with Hspec and the Snap Web Framework https://github.com/dbp/hspec-snap

Version on this page:0.3.3.0
LTS Haskell 6.33:0.4.0.1
Stackage Nightly 2016-05-25:0.4.0.1
Latest on Hackage:1.0.0.1
BSD3 licensed by Daniel Patterson
Maintained by dbp@dbpmail.net

Module documentation for 0.3.3.0

Changes

1.0.0.0 - 2016-08-06 - Upgrade to snap 1.0

0.4.0.1 - 2016-3-23 - Export RespCode.

0.4.0.0 - 2015-10-7 - Add response codes to responses.

0.3.3.1 - 2015-9-8 - Upgrade to hspec 2.2 (this is breaking, so we require it).

0.3.3.0 - 2015-6-5 - Add postJson helper.

0.3.2.9 - 2015-5-22 - Typo in previous release (dependency in test suite was wrong).

0.3.2.8 - 2015-5-22 - Add spec/Utils.hs to other-modules so it is included in cabal sdist.

0.3.2.7 - 2015-4-26 - Update dependencies (and a LANGUAGE flag) for GHC 7.10.

0.3.2.6 - 2015-4-26 - Rearrange imports to support Stackage LTS 2.4

0.3.2.5 - 2015-4-22 - Add support for `PUT` and `DELETE`.

0.3.2.4 - 2015-4-9 - Loosen lens bound and remove snap-extras dependency.

0.3.2.3 - 2015-2-27 - Loosen hspec bound.

0.3.2.2 - 2015-1-3 - Loosen text and lens bound.

0.3.2.1 - 2014-12-2 - Loosen lens dependency bound.

0.3.2.0 - 2014-11-12 - Add JSON response type, and depend on hspec-2.0 (which deprecates
the hspec2 package).

0.3.1.0 - 2014-10-27 - Remove broken `afterAll` implementation and depend on hspec2 0.5,
which provides a correct implementation.

0.3.0.0 - 2014-10-18 - Add support for factories, and no longer export `afterAll`.
A more correct implementation of `afterAll` is currently in hspec2
HEAD, and will be released soon (and we don't want to have to do
another major version when it does).

0.2.0.0 - 2014-9-24 - Change order of parameters in predicates that take two arguments
to make pattern of `get req >>= shouldHaveProp foo` work (vs needing to call `flip`).
And add more predicates.

0.1.0.0 - 2014-9-3 - Initial release.
comments powered byDisqus