hspec-test-framework-th

Run test-framework tests with Hspec http://hspec.github.io/

Latest on Hackage:0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed
Maintained by Simon Hengel

A test-framework compatibility layer on top of Hspec, it allows you to run test-framework tests with Hspec unmodified.

All that is required is to remove

  • test-framework

  • test-framework-quickcheck2

  • test-framework-hunit

  • test-framework-th

from the build-depends section of your cabal file and add

  • hspec-test-framework

  • hspec-test-framework-th

in theire place.

NOTE: The packages hspec-test-framework and hspec-test-framework-th are hidden by default, so that they do not interfere with an installed version of test-framework. If you want to use them with e.g. ghci, you have to pass the command-line flags -packagehspec-test-framework -packagehspec-test-framework-th to GHC.

comments powered byDisqus