Re: [Haskell-cafe] HUnit/cabal integration

2012-07-05 Thread Richard Cobbe
On Thu, Jul 05, 2012 at 04:17:33PM +0200, Simon Hengel wrote: > > First: the web page I cite above describes the interface that the test > > binary must support to work with cabal, specifically w.r.t. the binary's > > exit code. "Your test suites likely already fit this model. However, if > > you

Re: [Haskell-cafe] HUnit/cabal integration

2012-07-05 Thread Simon Hengel
> First: the web page I cite above describes the interface that the test > binary must support to work with cabal, specifically w.r.t. the binary's > exit code. "Your test suites likely already fit this model. However, if > you are using an old version of QuickCheck or HUnit, your executable may

[Haskell-cafe] HUnit/cabal integration

2012-07-05 Thread Richard Cobbe
I'm working on a little library package (purely for my own consumption) that's built with Cabal, and I have a couple of questions about the pragmatics of using HUnit for it. First, I'd like to be able to run my tests via "cabal test" from the shell prompt. I've seen