Skip to content

Instantly share code, notes, and snippets.

@lukehoersten
Created April 5, 2015 01:43
Show Gist options
  • Save lukehoersten/963bc5031493c339d830 to your computer and use it in GitHub Desktop.
Save lukehoersten/963bc5031493c339d830 to your computer and use it in GitHub Desktop.
Testing with Cabal
test-suite test
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test/src/
default-language: Haskell2010
ghc-options: -threaded "-with-rtsopts=-N" -fhpc
build-depends: HUnit >= 1.2 && < 1.3
, base >= 4.7 && < 4.9
, your-lib >= 0.1 && < 0.2
, containers >= 0.5 && < 0.6
, lens >= 4.3 && < 4.9
, mtl >= 2.2 && < 2.3
, tasty >= 0.8 && < 0.11
, tasty-html >= 0.2 && < 0.5
, tasty-hunit >= 0.8 && < 0.10
, transformers >= 0.4 && < 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment