New test-suite functionality

Johan Tibell johan.tibell at gmail.com
Fri Nov 26 02:38:33 EST 2010


Adding Thomas who wrote the code.

On Fri, Nov 26, 2010 at 6:07 AM, Antoine Latter <aslatter at gmail.com> wrote:
> Hi Cabal,
>
> Is there documentation for the new test-suite functionality? I tried
> adding the following stanza to my package description:
>
> test-suite basic
>    default-language: Haskell2010
>    type: exitcode-stdio-1.0
>    main-is: Basic.hs
>    hs-source-dirs: tests
>
> Running 'cabal test' only yields :
>
> Running 0 test suites...
> 0 of 0 test suites (0 of 0 test cases) passed.
>
> Am I doing something wrong? It would be nice if I got an error
> message. It doesn't seem to matter at all what I fill in to the stanza
> for the main-is and hs-source-dirs fields.
>
> Thanks,
> Antoine



More information about the cabal-devel mailing list