<div dir="ltr">Wow! Works like a charm... Thanks a lot.<div><br><div>And it is documented in the cabal user guide!</div><div><br></div><div>So I should have looked there before, apologies for the noise. </div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><div><div>--<br></div>Arnaud Bailly<br></div>FoldLabs Associate: <a href="http://foldlabs.com" target="_blank">http://foldlabs.com</a><br></div></div></div>
<br><div class="gmail_quote">On Mon, Sep 15, 2014 at 3:14 PM, Daniel Gorín <span dir="ltr"><<a href="mailto:dgorin@dc.uba.ar" target="_blank">dgorin@dc.uba.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try: cabal repl <name_of_your_tests><br>
<br>
The same works for executables.<br>
<br>
Daniel<br>
<div><div class="h5"><br>
On 15 Sep 2014, at 14:08, Arnaud Bailly <<a href="mailto:arnaud.oqube@gmail.com">arnaud.oqube@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
> 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.<br>
><br>
> I would like to launch a repl with test modules loaded, how can I achieve this?<br>
> Adding `--enable-tests` does not help for the repl...<br>
><br>
> Thanks,<br>
> --<br>
> Arnaud Bailly<br>
> FoldLabs Associate: <a href="http://foldlabs.com" target="_blank">http://foldlabs.com</a><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br>
</blockquote></div><br></div>