[Haskell-cafe] Using cabal repl with tests
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Mon Sep 15 13:14:56 UTC 2014
>From `cabal repl --help`:
Examples:
cabal repl The first component in the package
cabal repl foo A named component (i.e. lib, exe, test suite)
The `foo' in this case is the name of the test-suite or executable.
On 15 September 2014 23:08, Arnaud Bailly <arnaud.oqube at gmail.com> wrote:
> Hello,
> I have a classical project with cabal file split between a library, an
> executable and a test-suite. When I run `cabal repl` I got all modules from
> the library loaded, which is somewhat logical.
>
> I would like to launch a repl with test modules loaded, how can I achieve
> this?
> Adding `--enable-tests` does not help for the repl...
>
> Thanks,
> --
> Arnaud Bailly
> FoldLabs Associate: http://foldlabs.com
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list