
26 Nov
2010
26 Nov
'10
12:07 a.m.
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