On Apr 6, 2010, at 5:35 PM, Ivan Miljenovic wrote:

> On 7 April 2010 10:28, Thomas Tuegel <[email protected]> wrote:
>> Ok, this is the bottom-line that I didn't understand after our first
>> exchange, but I think now I do: I should entirely scrap the second
>> aspect of my proposal and focus exclusively on making Cabal build and
>> run test programs.
> 
> Just as a food for thought: how would you deal with test programs that
> deal with user input?  Should "cabal test" only run those that are
> automatic?

Yes, I personally think that tests which are automatically run should be 
self-contained so that they require no additional intervention by the user.  
However, one could conceivably flag some tests as being "manual" so that they 
are only run when chosen specifically (i.e. if "foo" is manual then it is only 
run with "cabal run foo").

Cheers,
Greg

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to