On Wed, Feb 8, 2012 at 4:42 AM, Christoph Breitkopf
chbreitk...@googlemail.com wrote:
Hello Thomas,
On Wed, Feb 8, 2012 at 4:03 AM, Thomas Tuegel ttue...@gmail.com wrote:
First, as author of the test suite code, let me apologize for the
terrible documentation.
This is absolutely NOT how
On Thu, Feb 9, 2012 at 6:57 PM, Thomas Tuegel ttue...@gmail.com wrote:
You need Cabal 1.12 for '--enable-library-coverage'. The only place
it's documented is in 'cabal configure --help' (a major oversight on
my part). The online docs for Cabal are only from version 1.10 anyway,
so that
Hello Thomas,
On Wed, Feb 8, 2012 at 4:03 AM, Thomas Tuegel ttue...@gmail.com wrote:
First, as author of the test suite code, let me apologize for the
terrible documentation.
This is absolutely NOT how coverage reports are supposed to work. If
you configure with '--enable-tests
Thanks Thomas, that new flag is great.
Mike Craig
On Tue, Feb 7, 2012 at 10:03 PM, Thomas Tuegel ttue...@gmail.com wrote:
On Tue, Feb 7, 2012 at 3:23 PM, Austin Seipp mad@gmail.com wrote:
If you're writing a library, you need to compile the library with
`-fhpc`, i.e. put it in the
Thanks for the advice, all. I've got test-framework, quickcheck, and
cabal's test-suite all working together nicely.
Cabal seems to support using hpc to check test coverage. If I add -fhpc to
the ghc-options under the test-suite, I get output like Test coverage
report written to
If you're writing a library, you need to compile the library with
`-fhpc`, i.e. put it in the library stanza, not the testsuite stanza,
and then you can compile the test program using your library - the
resulting 'tix' file will contain the library coverage reports. You
can link a HPC-built
By the way, has anyone else had trouble with cabal test diverging?
I've been running into this issue with cabal 0.10.2, but ONLY in
conjunction with GHC 6.12.3. It's hard to make a small reproducer for (and
therefore I haven't filed a bug yet), but you can see the below Jenkins run
stalled for
How do you control where the .mix files are generated? GHC is putting them
in .hpc/, but I'm getting errors like hpc: can not find
test-0.0.0/Data.Test in [./dist/hpc/mix/test-0.0.0].
Mike Craig
On Tue, Feb 7, 2012 at 5:12 PM, Ryan Newton rrnew...@gmail.com wrote:
By the way, has anyone else
On Tue, Feb 7, 2012 at 3:23 PM, Austin Seipp mad@gmail.com wrote:
If you're writing a library, you need to compile the library with
`-fhpc`, i.e. put it in the library stanza, not the testsuite stanza,
and then you can compile the test program using your library - the
resulting 'tix' file
I've been picking up Haskell as a side project for the last few months, and
I'm now considering publishing some useful code I've written and reused in
several small projects. So far I've done relatively little with testing
(these have been non-mission-critical applications) but I feel I should get
On Thu, Feb 2, 2012 at 4:30 PM, Michael Craig mks...@gmail.com wrote:
I've been picking up Haskell as a side project for the last few months, and
I'm now considering publishing some useful code I've written and reused in
several small projects. So far I've done relatively little with testing
On 3 February 2012 06:30, Michael Craig mks...@gmail.com wrote:
I'm comfortable writing tests in QuickCheck and HUnit and bundling them as
optional executables with cabal, but I understand there's a better
way. Specifically, I'm looking at the test-framework package and cabal's
(newish)
On Thu, Feb 2, 2012 at 4:19 PM, Conrad Parker con...@metadecks.org wrote:
I've followed what Johan Tibbell did in the hashable package:
If I had known how much confusion my childhood friends would unleash on the
Internet when they, at age 7, gave me a nickname that's spelled slightly
On 3 February 2012 08:30, Johan Tibell johan.tib...@gmail.com wrote:
On Thu, Feb 2, 2012 at 4:19 PM, Conrad Parker con...@metadecks.org wrote:
I've followed what Johan Tibbell did in the hashable package:
If I had known how much confusion my childhood friends would unleash on the
Internet
On Thu, Feb 2, 2012 at 4:46 PM, Conrad Parker con...@metadecks.org wrote:
On 3 February 2012 08:30, Johan Tibell johan.tib...@gmail.com wrote:
On Thu, Feb 2, 2012 at 4:19 PM, Conrad Parker con...@metadecks.org
wrote:
I've followed what Johan Tibbell did in the hashable package:
If I
On 03/02/2012 12:22 PM, Johan Tibell johan.tib...@gmail.com wrote:
On Thu, Feb 2, 2012 at 4:46 PM, Conrad Parker con...@metadecks.org
wrote:
On 3 February 2012 08:30, Johan Tibell johan.tib...@gmail.com wrote:
On Thu, Feb 2, 2012 at 4:19 PM, Conrad Parker con...@metadecks.org
wrote:
I've
16 matches
Mail list logo