Is there test-suite support in haskell-mode?

Kirill Zaborsky qrilka at gmail.com
Wed Aug 22 11:42:51 BST 2012


Actually that's test-framework, not HUnit.
Looks like it hase something to do with cabal-dev magick (loading from
cabal-dev ghci fails also)

Kind regards,
Kirill Zaborsky

2012/8/22 Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com>

> On 22 August 2012 19:39, Kirill Zaborsky <qrilka at gmail.com> wrote:
> > If I try to load HUnit module (with C-c-l) from my project I get an
> error:
> >  Could not find module `Test.Framework'
>
> Do you have HUnit installed?
>
> > Am I wright assuming that haskell-mode does not work with build-depends
> in
> > test-suite section of project cabal-file?
>
> As far as I know haskell-mode doesn't consider _any_ build-depends
> section in the .cabal file, and just uses the .cabal file to find the
> root of the project.
>
> > Should I file new github issue for such enhancement?
> >
> > Kind regards,
> > Kirill Zaborsky
> >
> > _______________________________________________
> > Haskellmode-emacs mailing list
> > Haskellmode-emacs at projects.haskell.org
> > http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
> >
>
>
>
> --
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> http://IvanMiljenovic.wordpress.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskellmode-emacs/attachments/20120822/258d328f/attachment.htm>


More information about the Haskellmode-emacs mailing list