Run test-framework tests with Hspec
Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hspec-test-framework-th
src/Test
.ghci
.gitignore
.travis.yml
LICENSE
README.markdown
Setup.lhs
hspec-test-framework.cabal

README.markdown

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.